vp8enc: Correctly set profile in caps

This commit is contained in:
Sebastian Dröge 2012-09-15 00:04:07 +02:00
parent f7e0bc0c6a
commit 8da71fea1f

View file

@ -1456,7 +1456,8 @@ gst_vp8_enc_set_format (GstVideoEncoder * video_encoder,
image->stride[VPX_PLANE_U] = GST_VIDEO_INFO_COMP_STRIDE (info, 1);
image->stride[VPX_PLANE_V] = GST_VIDEO_INFO_COMP_STRIDE (info, 2);
caps = gst_caps_new_empty_simple ("video/x-vp8");
caps = gst_caps_new_simple ("video/x-vp8",
"profile", G_TYPE_INT, encoder->profile, NULL);
{
GstStructure *s;
GstBuffer *stream_hdr, *vorbiscomment;