mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 10:38:27 +00:00
[MOVED FROM BAD 130/134] vp8enc: Correctly set profile in caps
This commit is contained in:
parent
35520df7c0
commit
1639d1e150
1 changed files with 2 additions and 1 deletions
|
@ -1477,7 +1477,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;
|
||||
|
|
Loading…
Reference in a new issue