gstreamer/sys/vdpau/gstvdp.c

30 lines
736 B
C
Raw Normal View History

#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <gst/gst.h>
#include "gstvdpmpegdecoder.h"
#include "gstvdpvideoyuv.h"
#include "gstvdpyuvvideo.h"
static gboolean
2009-04-13 20:21:03 +00:00
vdpau_init (GstPlugin * vdpau_plugin)
{
gst_element_register (vdpau_plugin, "vdpaumpegdec",
GST_RANK_PRIMARY - 1, GST_TYPE_VDP_MPEG_DEC);
2009-04-13 20:21:03 +00:00
gst_element_register (vdpau_plugin, "vdpauvideoyuv",
2009-05-05 15:28:19 +00:00
GST_RANK_PRIMARY, GST_TYPE_VDP_VIDEO_YUV);
2009-04-13 20:21:03 +00:00
gst_element_register (vdpau_plugin, "vdpauyuvvideo",
2009-05-05 15:28:19 +00:00
GST_RANK_PRIMARY, GST_TYPE_VDP_YUV_VIDEO);
return TRUE;
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR,
"vdpau",
"Various elements utilizing VDPAU",
vdpau_init, VERSION, "LGPL", "GStreamer", "http://gstreamer.net/")