diff --git a/gst/videoparsers/gsth264parse.c b/gst/videoparsers/gsth264parse.c index 8a265c4d64..a75c0f7c02 100644 --- a/gst/videoparsers/gsth264parse.c +++ b/gst/videoparsers/gsth264parse.c @@ -1623,7 +1623,9 @@ get_profile_string (GstH264SPS * sps) static const gchar * get_level_string (GstH264SPS * sps) { - if ((sps->level_idc == 11 && sps->constraint_set3_flag) + if (sps->level_idc == 0) + return NULL; + else if ((sps->level_idc == 11 && sps->constraint_set3_flag) || sps->level_idc == 9) return "1b"; else if (sps->level_idc % 10 == 0)