winegstreamer: Ignore unset H264 format profile and level.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Rémi Bernon 2022-04-27 20:41:24 +02:00 committed by Alexandre Julliard
parent 29f91b916a
commit 9cc016ecb9

View file

@ -455,6 +455,8 @@ static GstCaps *wg_format_to_caps_h264(const struct wg_format *format)
case eAVEncH264VProfile_444: profile = "high-4:4:4"; break;
default:
GST_FIXME("H264 profile attribute %u not implemented.", format->u.h264.profile);
/* fallthrough */
case eAVEncH264VProfile_unknown:
profile = NULL;
break;
}
@ -481,6 +483,8 @@ static GstCaps *wg_format_to_caps_h264(const struct wg_format *format)
case eAVEncH264VLevel5_2: level = "5.2"; break;
default:
GST_FIXME("H264 level attribute %u not implemented.", format->u.h264.level);
/* fallthrough */
case 0:
level = NULL;
break;
}