summaryrefslogtreecommitdiffstats
path: root/sys/vdpau/gstvdpauvideoyuv.c
diff options
context:
space:
mode:
authorCarl-Anton Ingmarsson <ca.ingmarsson@gmail.com>2009-04-07 20:46:49 +0200
committerJan Schmidt <thaytan@noraisin.net>2009-06-20 15:21:25 +0100
commitf8e0c0bcc11735e14636c7ea45fd23253e6cef99 (patch)
tree668ab333521cc81cb766c42c1bd42d3e2464fe3b /sys/vdpau/gstvdpauvideoyuv.c
parent74485f6fa28ac3413ca5533f7bee695ab7670b47 (diff)
downloadgst-plugins-bad-f8e0c0bcc11735e14636c7ea45fd23253e6cef99.tar.gz
gst-plugins-bad-f8e0c0bcc11735e14636c7ea45fd23253e6cef99.tar.bz2
gst-plugins-bad-f8e0c0bcc11735e14636c7ea45fd23253e6cef99.zip
vdpau: add new GstVdpauYUVVideo element
the GstVdpauYUVVideo element takes raw YUV video and outputs GstVdpauVideoBuffers
Diffstat (limited to 'sys/vdpau/gstvdpauvideoyuv.c')
-rw-r--r--sys/vdpau/gstvdpauvideoyuv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpauvideoyuv.c b/sys/vdpau/gstvdpauvideoyuv.c
index ca1ec803..7b2e7677 100644
--- a/sys/vdpau/gstvdpauvideoyuv.c
+++ b/sys/vdpau/gstvdpauvideoyuv.c
@@ -412,6 +412,7 @@ gst_vdpau_video_yuv_init (GstVdpauVideoYUV * video_yuv,
gst_vdpau_video_yuv_sink_set_caps);
gst_pad_set_chain_function (video_yuv->sink, gst_vdpau_video_yuv_chain);
gst_element_add_pad (GST_ELEMENT (video_yuv), video_yuv->sink);
+ gst_pad_set_active (video_yuv->sink, TRUE);
}
static void