package com.google.android.gms.internal.ads; import android.view.Surface; import androidx.annotation.RequiresApi; @RequiresApi(30) /* loaded from: classes3.dex */ final class zzaam { public static void zza(Surface surface, float f) { try { surface.setFrameRate(f, f == 0.0f ? 0 : 1); } catch (IllegalStateException e) { zzdo.zzd("VideoFrameReleaseHelper", "Failed to call Surface.setFrameRate", e); } } }