mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 23:06:49 +00:00
Merge branch 'master' into 0.11
This commit is contained in:
commit
125f6a2fdf
1 changed files with 4 additions and 1 deletions
|
@ -707,7 +707,7 @@ gst_codec_utils_mpeg4video_get_level (const guint8 * vis_obj_seq, guint len)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 0xf:
|
case 0xf:
|
||||||
if (level_id == 7 && level_id > 0xd)
|
if (level_id == 6 || level_id == 7 || level_id > 0xd)
|
||||||
return NULL;
|
return NULL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -718,6 +718,9 @@ gst_codec_utils_mpeg4video_get_level (const guint8 * vis_obj_seq, guint len)
|
||||||
else if (profile_id == 0 && level_id == 9)
|
else if (profile_id == 0 && level_id == 9)
|
||||||
/* Simple Profile / Level 0b */
|
/* Simple Profile / Level 0b */
|
||||||
return "0b";
|
return "0b";
|
||||||
|
else if (profile_id == 0xf && level_id > 7)
|
||||||
|
/* Fine Granularity Scalable Profile */
|
||||||
|
return digit_to_string (level_id - 8);
|
||||||
else if (level_id <= level_max[profile_id])
|
else if (level_id <= level_max[profile_id])
|
||||||
/* Levels for all other cases */
|
/* Levels for all other cases */
|
||||||
return digit_to_string (level_id);
|
return digit_to_string (level_id);
|
||||||
|
|
Loading…
Reference in a new issue