e$3.smali

.class final Lcom/tencent/tmediacodec/b/e$3;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/tencent/tmediacodec/b/e;->h()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/tencent/tmediacodec/b/e;


# direct methods
.method constructor <init>(Lcom/tencent/tmediacodec/b/e;)V
    .registers 2

    .line 717
    iput-object p1, p0, Lcom/tencent/tmediacodec/b/e$3;->a:Lcom/tencent/tmediacodec/b/e;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final run()V
    .registers 4

    .line 723
    :try_start_0
    iget-object v0, p0, Lcom/tencent/tmediacodec/b/e$3;->a:Lcom/tencent/tmediacodec/b/e;

    invoke-static {v0}, Lcom/tencent/tmediacodec/b/e;->d(Lcom/tencent/tmediacodec/b/e;)Landroid/media/MediaCodec;

    move-result-object v0

    invoke-virtual {v0}, Landroid/media/MediaCodec;->stop()V
    :try_end_9
    .catchall {:try_start_0 .. :try_end_9} :catchall_18

    .line 725
    :try_start_9
    iget-object v0, p0, Lcom/tencent/tmediacodec/b/e$3;->a:Lcom/tencent/tmediacodec/b/e;

    invoke-static {v0}, Lcom/tencent/tmediacodec/b/e;->d(Lcom/tencent/tmediacodec/b/e;)Landroid/media/MediaCodec;

    move-result-object v0

    invoke-virtual {v0}, Landroid/media/MediaCodec;->release()V

    .line 728
    iget-object v0, p0, Lcom/tencent/tmediacodec/b/e$3;->a:Lcom/tencent/tmediacodec/b/e;

    invoke-static {v0}, Lcom/tencent/tmediacodec/b/e;->e(Lcom/tencent/tmediacodec/b/e;)V

    goto :goto_2f

    :catchall_18
    move-exception v0

    .line 725
    iget-object v1, p0, Lcom/tencent/tmediacodec/b/e$3;->a:Lcom/tencent/tmediacodec/b/e;

    invoke-static {v1}, Lcom/tencent/tmediacodec/b/e;->d(Lcom/tencent/tmediacodec/b/e;)Landroid/media/MediaCodec;

    move-result-object v1

    invoke-virtual {v1}, Landroid/media/MediaCodec;->release()V

    .line 726
    throw v0
    :try_end_23
    .catchall {:try_start_9 .. :try_end_23} :catchall_23

    :catchall_23
    move-exception v0

    .line 730
    iget-object v1, p0, Lcom/tencent/tmediacodec/b/e$3;->a:Lcom/tencent/tmediacodec/b/e;

    invoke-static {v1}, Lcom/tencent/tmediacodec/b/e;->c(Lcom/tencent/tmediacodec/b/e;)Ljava/lang/String;

    move-result-object v1

    const-string v2, "recycle codec ignore error,"

    invoke-static {v1, v2, v0}, Lcom/tencent/tmediacodec/f/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 733
    :goto_2f
    iget-object v0, p0, Lcom/tencent/tmediacodec/b/e$3;->a:Lcom/tencent/tmediacodec/b/e;

    invoke-static {v0}, Lcom/tencent/tmediacodec/b/e;->f(Lcom/tencent/tmediacodec/b/e;)Lcom/tencent/tmediacodec/a/a;

    move-result-object v0

    if-eqz v0, :cond_3c

    .line 734
    iget-object v0, p0, Lcom/tencent/tmediacodec/b/e$3;->a:Lcom/tencent/tmediacodec/b/e;

    invoke-static {v0}, Lcom/tencent/tmediacodec/b/e;->f(Lcom/tencent/tmediacodec/b/e;)Lcom/tencent/tmediacodec/a/a;

    :cond_3c
    return-void
.end method