mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
h265parse: H265 level idc 0 is not valid
Don't put level=0 into the caps, it confuses other elements. https://bugzilla.gnome.org/show_bug.cgi?id=765538
This commit is contained in:
parent
4bdda1d810
commit
920ad27122
1 changed files with 3 additions and 1 deletions
|
@ -1252,7 +1252,9 @@ get_tier_string (guint8 tier_flag)
|
|||
static const gchar *
|
||||
get_level_string (guint8 level_idc)
|
||||
{
|
||||
if (level_idc % 30 == 0)
|
||||
if (level_idc == 0)
|
||||
return NULL;
|
||||
else if (level_idc % 30 == 0)
|
||||
return digit_to_string (level_idc / 30);
|
||||
else {
|
||||
switch (level_idc) {
|
||||
|
|
Loading…
Reference in a new issue