mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-06 10:25:58 +01:00
Restrict first video frame probing to file protocol (#15557)
This commit is contained in:
parent
921d7d3364
commit
ee7ad83427
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