diff options
author | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-09-15 00:04:07 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian.droege@collabora.co.uk> | 2012-09-15 00:04:07 +0200 |
commit | 8da71fea1f31da5876d8c9329414ba87b6cb301a (patch) | |
tree | 9a0fe32b223dc513c5804ab2bd9babcf704d54ee /ext/vp8/gstvp8enc.c | |
parent | f7e0bc0c6a2fc7ce65f229aff0b5709438de4b55 (diff) | |
download | gstreamer-plugins-bad-8da71fea1f31da5876d8c9329414ba87b6cb301a.tar.gz |
vp8enc: Correctly set profile in caps
Diffstat (limited to 'ext/vp8/gstvp8enc.c')
-rw-r--r-- | ext/vp8/gstvp8enc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/vp8/gstvp8enc.c b/ext/vp8/gstvp8enc.c index 8f0c84834..e90d92c10 100644 --- a/ext/vp8/gstvp8enc.c +++ b/ext/vp8/gstvp8enc.c @@ -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; |