package rf;

import android.graphics.drawable.Drawable;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import tv.danmaku.ijk.media.player.ui.BasePlayerView;

/* JADX INFO: loaded from: classes3.dex */
public final class t extends com.bumptech.glide.request.target.c {

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final /* synthetic */ w f32592c;

    /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
    public t(w wVar, int i10, int i11) {
        super(i10, i11);
        this.f32592c = wVar;
    }

    @Override // com.bumptech.glide.request.target.c, com.bumptech.glide.request.target.j
    public void onLoadCleared(@Nullable Drawable drawable) {
    }

    @Override // com.bumptech.glide.request.target.c, com.bumptech.glide.request.target.j
    public void onResourceReady(@NonNull Drawable drawable, @Nullable r5.c cVar) {
        BasePlayerView basePlayerView;
        w wVar = this.f32592c;
        if (wVar.f32600c == null || (basePlayerView = wVar.f32602e) == null || basePlayerView.getPlaybackState() > 1) {
            return;
        }
        wVar.f32602e.setDrawableArtwork(drawable);
    }
}
