.class public Lorg/webrtc/MediaCodecVideoDecoder$1; .super Ljava/lang/Object; .source "MediaCodecVideoDecoder.java" # interfaces .implements Ljava/lang/Runnable; # annotations .annotation system Ldalvik/annotation/EnclosingMethod; value = Lorg/webrtc/MediaCodecVideoDecoder;->release()V .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x1 name = null .end annotation # instance fields .field public final synthetic this$0:Lorg/webrtc/MediaCodecVideoDecoder; .field public final synthetic val$releaseDone:Ljava/util/concurrent/CountDownLatch; # direct methods .method public constructor (Lorg/webrtc/MediaCodecVideoDecoder;Ljava/util/concurrent/CountDownLatch;)V .locals 0 iput-object p1, p0, Lorg/webrtc/MediaCodecVideoDecoder$1;->this$0:Lorg/webrtc/MediaCodecVideoDecoder; iput-object p2, p0, Lorg/webrtc/MediaCodecVideoDecoder$1;->val$releaseDone:Ljava/util/concurrent/CountDownLatch; invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method # virtual methods .method public run()V .locals 3 const-string v0, "MediaCodecVideoDecoder" :try_start_0 const-string v1, "Java releaseDecoder on release thread" invoke-static {v0, v1}, Lorg/webrtc/Logging;->d(Ljava/lang/String;Ljava/lang/String;)V iget-object v1, p0, Lorg/webrtc/MediaCodecVideoDecoder$1;->this$0:Lorg/webrtc/MediaCodecVideoDecoder; invoke-static {v1}, Lorg/webrtc/MediaCodecVideoDecoder;->access$100(Lorg/webrtc/MediaCodecVideoDecoder;)Landroid/media/MediaCodec; move-result-object v1 invoke-virtual {v1}, Landroid/media/MediaCodec;->stop()V iget-object v1, p0, Lorg/webrtc/MediaCodecVideoDecoder$1;->this$0:Lorg/webrtc/MediaCodecVideoDecoder; invoke-static {v1}, Lorg/webrtc/MediaCodecVideoDecoder;->access$100(Lorg/webrtc/MediaCodecVideoDecoder;)Landroid/media/MediaCodec; move-result-object v1 invoke-virtual {v1}, Landroid/media/MediaCodec;->release()V const-string v1, "Java releaseDecoder on release thread done" invoke-static {v0, v1}, Lorg/webrtc/Logging;->d(Ljava/lang/String;Ljava/lang/String;)V :try_end_0 .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0 goto :goto_0 :catch_0 move-exception v1 const-string v2, "Media decoder release failed" invoke-static {v0, v2, v1}, Lorg/webrtc/Logging;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V :goto_0 iget-object v0, p0, Lorg/webrtc/MediaCodecVideoDecoder$1;->val$releaseDone:Ljava/util/concurrent/CountDownLatch; invoke-virtual {v0}, Ljava/util/concurrent/CountDownLatch;->countDown()V return-void .end method