Commit 34b990fe authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winegstreamer: Set the default H264 caps profile to "baseline".

Some elements such as openh264dec require it to be present.
parent 2a2ed455
......@@ -571,10 +571,9 @@ 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);
switch (format->u.video_h264.level)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment