mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 10:16:11 +00:00
Quick fix for mpeg without profiles
apply xvid flag by default.
This commit is contained in:
parent
44ab16d1f0
commit
8763654a6d
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class API():
|
||||||
videotrack['videocodec'] = "divx"
|
videotrack['videocodec'] = "divx"
|
||||||
elif "mpeg4" in videotrack['videocodec']:
|
elif "mpeg4" in videotrack['videocodec']:
|
||||||
profile = mediaStream.get('Profile', "").lower()
|
profile = mediaStream.get('Profile', "").lower()
|
||||||
if "simple profile" in profile:
|
if "simple profile" in profile or not profile:
|
||||||
videotrack['videocodec'] = "xvid"
|
videotrack['videocodec'] = "xvid"
|
||||||
elif "h264" in videotrack['videocodec']:
|
elif "h264" in videotrack['videocodec']:
|
||||||
if container in ("mp4", "mov", "m4v"):
|
if container in ("mp4", "mov", "m4v"):
|
||||||
|
|
Loading…
Reference in a new issue