mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-15 11:07:17 +00:00
winegstreamer: Set the default H264 caps profile to "baseline".
Some elements such as openh264dec require it to be present.
This commit is contained in:
parent
2a2ed45566
commit
34b990fe17
|
@ -571,11 +571,10 @@ static GstCaps *wg_format_to_caps_video_h264(const struct wg_format *format)
|
|||
GST_FIXME("H264 profile attribute %u not implemented.", format->u.video_h264.profile);
|
||||
/* fallthrough */
|
||||
case eAVEncH264VProfile_unknown:
|
||||
profile = NULL;
|
||||
profile = "baseline";
|
||||
break;
|
||||
}
|
||||
if (profile)
|
||||
gst_caps_set_simple(caps, "profile", G_TYPE_STRING, profile, NULL);
|
||||
gst_caps_set_simple(caps, "profile", G_TYPE_STRING, profile, NULL);
|
||||
|
||||
switch (format->u.video_h264.level)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue