fix embedded image resolving as video track
This commit is contained in:
parent
e245a5fe31
commit
5b8d3d1f25
|
@ -129,7 +129,7 @@ namespace MediaBrowser.MediaEncoding.Probing
|
||||||
}
|
}
|
||||||
else if (string.Equals(streamInfo.codec_type, "video", StringComparison.OrdinalIgnoreCase))
|
else if (string.Equals(streamInfo.codec_type, "video", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
stream.Type = isAudio
|
stream.Type = isAudio || string.Equals(stream.Codec, "mjpeg", StringComparison.OrdinalIgnoreCase)
|
||||||
? MediaStreamType.EmbeddedImage
|
? MediaStreamType.EmbeddedImage
|
||||||
: MediaStreamType.Video;
|
: MediaStreamType.Video;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user