Quick fix for mpeg without profiles

apply xvid flag by default.
This commit is contained in:
angelblue05 2015-07-31 06:34:34 -05:00
parent 44ab16d1f0
commit 8763654a6d

View file

@ -134,7 +134,7 @@ class API():
videotrack['videocodec'] = "divx"
elif "mpeg4" in videotrack['videocodec']:
profile = mediaStream.get('Profile', "").lower()
if "simple profile" in profile:
if "simple profile" in profile or not profile:
videotrack['videocodec'] = "xvid"
elif "h264" in videotrack['videocodec']:
if container in ("mp4", "mov", "m4v"):