summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gst/mpegvideoparse/mpegvideoparse.c2
-rw-r--r--sys/vdpau/gstvdp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gst/mpegvideoparse/mpegvideoparse.c b/gst/mpegvideoparse/mpegvideoparse.c
index d0badbfc..eefa6843 100644
--- a/gst/mpegvideoparse/mpegvideoparse.c
+++ b/gst/mpegvideoparse/mpegvideoparse.c
@@ -961,7 +961,7 @@ plugin_init (GstPlugin * plugin)
"MPEG Video Parser");
return gst_element_register (plugin, "mpegvideoparse",
- GST_RANK_SECONDARY - 1, GST_TYPE_MPEGVIDEOPARSE);
+ GST_RANK_PRIMARY, GST_TYPE_MPEGVIDEOPARSE);
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
diff --git a/sys/vdpau/gstvdp.c b/sys/vdpau/gstvdp.c
index 64ebf37e..8d5be3dc 100644
--- a/sys/vdpau/gstvdp.c
+++ b/sys/vdpau/gstvdp.c
@@ -13,7 +13,7 @@ static gboolean
vdpau_init (GstPlugin * vdpau_plugin)
{
gst_element_register (vdpau_plugin, "vdpaumpegdec",
- GST_RANK_NONE, GST_TYPE_VDP_MPEG_DECODER);
+ GST_RANK_PRIMARY - 1, GST_TYPE_VDP_MPEG_DECODER);
gst_element_register (vdpau_plugin, "vdpauvideoyuv",
GST_RANK_PRIMARY, GST_TYPE_VDP_VIDEO_YUV);
gst_element_register (vdpau_plugin, "vdpauyuvvideo",