浏览代码

Don't use ffprobe frame options on audio probe (#14773)

Tim Eisele 1 周之前
父节点
当前提交
e4e578b37a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs

+ 1 - 1
MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs

@@ -511,7 +511,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
                 ? "{0} -i {1} -threads {2} -v warning -print_format json -show_streams -show_chapters -show_format"
                 : "{0} -i {1} -threads {2} -v warning -print_format json -show_streams -show_format";
 
-            if (_proberSupportsFirstVideoFrame)
+            if (!isAudio && _proberSupportsFirstVideoFrame)
             {
                 args += " -show_frames -only_first_vframe";
             }