mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-20 07:16:55 +00:00
vp8enc: Use GST_VIDEO_CAPS_YUV(I420) instead of handwritten I420 caps for the pad template
Fixes bug #619344.
This commit is contained in:
parent
0285cff300
commit
2fa8d69d82
1 changed files with 1 additions and 3 deletions
|
@ -178,9 +178,7 @@ static GstStaticPadTemplate gst_vp8_enc_sink_template =
|
||||||
GST_STATIC_PAD_TEMPLATE ("sink",
|
GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS ("video/x-raw-yuv,format=(fourcc)I420,"
|
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("I420"))
|
||||||
"width=[1,max],height=[1,max],framerate=(fraction)[0,max],"
|
|
||||||
"interlaced=(boolean){TRUE,FALSE}")
|
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate gst_vp8_enc_src_template =
|
static GstStaticPadTemplate gst_vp8_enc_src_template =
|
||||||
|
|
Loading…
Reference in a new issue