Commit 9cc016ec authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

winegstreamer: Ignore unset H264 format profile and level.

parent 29f91b91
......@@ -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;
}
......
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