summaryrefslogtreecommitdiffstats
path: root/sys/vdpau/gstvdp.c
diff options
context:
space:
mode:
authorDave Robillard <dave@drobilla.net>2009-08-15 17:26:39 -0400
committerDave Robillard <dave@drobilla.net>2009-08-15 17:26:39 -0400
commit9a9917e89144923a79acaf8745ba7b958feda2a4 (patch)
tree46b8383d03acd11adb6d085abd32b44e5913da63 /sys/vdpau/gstvdp.c
parente46ff7bda0f7996b456476dccb4a822688a690fb (diff)
parent2aa6fa29edf380a40c962a85aad3501950c71492 (diff)
downloadgst-plugins-bad-9a9917e89144923a79acaf8745ba7b958feda2a4.tar.gz
gst-plugins-bad-9a9917e89144923a79acaf8745ba7b958feda2a4.tar.bz2
gst-plugins-bad-9a9917e89144923a79acaf8745ba7b958feda2a4.zip
Merge branch 'master' of git://anongit.freedesktop.org/gstreamer/gst-plugins-bad into fdo
Diffstat (limited to 'sys/vdpau/gstvdp.c')
-rw-r--r--sys/vdpau/gstvdp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/vdpau/gstvdp.c b/sys/vdpau/gstvdp.c
index 5c524968..0cafbd68 100644
--- a/sys/vdpau/gstvdp.c
+++ b/sys/vdpau/gstvdp.c
@@ -12,12 +12,14 @@
static gboolean
vdpau_init (GstPlugin * vdpau_plugin)
{
+ /* Before giving these elements a rank again, make sure they pass at
+ * least the generic/states test when there's no device available */
gst_element_register (vdpau_plugin, "vdpaumpegdec",
- GST_RANK_PRIMARY - 1, GST_TYPE_VDP_MPEG_DEC);
+ GST_RANK_NONE, GST_TYPE_VDP_MPEG_DEC);
gst_element_register (vdpau_plugin, "vdpauvideoyuv",
- GST_RANK_PRIMARY, GST_TYPE_VDP_VIDEO_YUV);
+ GST_RANK_NONE, GST_TYPE_VDP_VIDEO_YUV);
gst_element_register (vdpau_plugin, "vdpauyuvvideo",
- GST_RANK_PRIMARY, GST_TYPE_VDP_YUV_VIDEO);
+ GST_RANK_NONE, GST_TYPE_VDP_YUV_VIDEO);
return TRUE;
}