summaryrefslogtreecommitdiffstats
path: root/sys/vdpau/gstvdp.c
diff options
context:
space:
mode:
authorDave Robillard <dave@drobilla.net>2009-08-15 17:26:43 -0400
committerDave Robillard <dave@drobilla.net>2009-08-15 17:26:43 -0400
commitef06c438a55b251baa82761a26d6abc4a06382a8 (patch)
tree061f3a0fbcd3ad56a68a2520f160f76eab707680 /sys/vdpau/gstvdp.c
parente937d82162aa78a7aa88874f0eb12c895fffd7b7 (diff)
parent9a9917e89144923a79acaf8745ba7b958feda2a4 (diff)
downloadgst-plugins-bad-ef06c438a55b251baa82761a26d6abc4a06382a8.tar.gz
gst-plugins-bad-ef06c438a55b251baa82761a26d6abc4a06382a8.tar.bz2
gst-plugins-bad-ef06c438a55b251baa82761a26d6abc4a06382a8.zip
Merge branch 'fdo' into lv2
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;
}