summaryrefslogtreecommitdiffstats
path: root/sys/vdpau/gstvdpau.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/gstvdpau.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/gstvdpau.c')
-rw-r--r--sys/vdpau/gstvdpau.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/vdpau/gstvdpau.c b/sys/vdpau/gstvdpau.c
index 04a0ef5b..24ed3982 100644
--- a/sys/vdpau/gstvdpau.c
+++ b/sys/vdpau/gstvdpau.c
@@ -7,6 +7,8 @@
#include "gstvdpaumpegdecoder.h"
#include "gstvdpauvideoyuv.h"
+#include "gstvdpauyuvvideo.h"
+
static gboolean
vdpau_init (GstPlugin * vdpaumpegdecoder)
{
@@ -14,6 +16,8 @@ vdpau_init (GstPlugin * vdpaumpegdecoder)
GST_RANK_NONE, GST_TYPE_VDPAU_MPEG_DECODER);
gst_element_register (vdpaumpegdecoder, "vdpauvideoyuv",
GST_RANK_NONE, GST_TYPE_VDPAU_VIDEO_YUV);
+ gst_element_register (vdpaumpegdecoder, "vdpauyuvvideo",
+ GST_RANK_NONE, GST_TYPE_VDPAU_YUV_VIDEO);
return TRUE;
}