diff options
author | Dave Robillard <dave@drobilla.net> | 2009-08-15 17:26:43 -0400 |
---|---|---|
committer | Dave Robillard <dave@drobilla.net> | 2009-08-15 17:26:43 -0400 |
commit | ef06c438a55b251baa82761a26d6abc4a06382a8 (patch) | |
tree | 061f3a0fbcd3ad56a68a2520f160f76eab707680 /sys/vdpau/gstvdp.c | |
parent | e937d82162aa78a7aa88874f0eb12c895fffd7b7 (diff) | |
parent | 9a9917e89144923a79acaf8745ba7b958feda2a4 (diff) | |
download | gst-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.c | 8 |
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; } |