aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Eisele <Ghost_of_Stone@web.de>2025-09-11 04:32:14 +0200
committerGitHub <noreply@github.com>2025-09-10 20:32:14 -0600
commite4e578b37ab97a44c36c9ae948bfa1f1c1ac360f (patch)
tree9661235c0f46e33e08257edf1d9ae1e50025fe72
parent387bc0c8eb9617636ff02e0c16d934f30596d6fb (diff)
Don't use ffprobe frame options on audio probe (#14773)
-rw-r--r--MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
index d71d46c00..8350d1613 100644
--- a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
+++ b/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";
}