mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-06 12:45:12 +01:00
Backport pull request #15557 from jellyfin/release-10.11.z
Restrict first video frame probing to file protocol
Original-merge: ee7ad83427
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
parent
8cd6ef37c4
commit
7d2e4cd817
1 changed files with 1 additions and 1 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue