diff options
| author | gnattu <gnattu@users.noreply.github.com> | 2025-12-03 14:04:19 -0500 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2025-12-03 14:04:19 -0500 |
| commit | 7d2e4cd8170fd3369e2861f572f54c104ec754fb (patch) | |
| tree | a12824a4d0fb2ac2497e398b1a122b8bcae31e20 | |
| parent | 8cd6ef37c4a4220ddca502beb61e979767d49344 (diff) | |
Backport pull request #15557 from jellyfin/release-10.11.z
Restrict first video frame probing to file protocol
Original-merge: ee7ad83427ed30aa095896ff3577bb946f3d1c02
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Bond_009 <bond.009@outlook.com>
| -rw-r--r-- | MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs index b7fef842b..73c5b88c8 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 (!isAudio && _proberSupportsFirstVideoFrame) + if (protocol == MediaProtocol.File && !isAudio && _proberSupportsFirstVideoFrame) { args += " -show_frames -only_first_vframe"; } |
