From 66231a619a2963551102a66c6afe177b8cd0491f Mon Sep 17 00:00:00 2001 From: Carl-Anton Ingmarsson Date: Mon, 27 Apr 2009 20:57:12 +0200 Subject: [PATCH] vdpau: set vdpauvideoyuv and vdpauyuvvideo to GST_RANK_PRIMARY --- sys/vdpau/gstvdp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/vdpau/gstvdp.c b/sys/vdpau/gstvdp.c index b18c8a0292..27a96a82b9 100644 --- a/sys/vdpau/gstvdp.c +++ b/sys/vdpau/gstvdp.c @@ -15,9 +15,9 @@ vdpau_init (GstPlugin * vdpau_plugin) gst_element_register (vdpau_plugin, "vdpaumpegdec", GST_RANK_NONE, GST_TYPE_VDPAU_MPEG_DECODER); gst_element_register (vdpau_plugin, "vdpauvideoyuv", - GST_RANK_NONE, GST_TYPE_VDPAU_VIDEO_YUV); + GST_RANK_PRIMARY, GST_TYPE_VDPAU_VIDEO_YUV); gst_element_register (vdpau_plugin, "vdpauyuvvideo", - GST_RANK_NONE, GST_TYPE_VDPAU_YUV_VIDEO); + GST_RANK_PRIMARY, GST_TYPE_VDPAU_YUV_VIDEO); return TRUE; }