mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
vdpau: change element rank for testing purposes
set mpegvideoparse rank to primary and vdpaumpegdec to primary - 1 to get vdpaumpegdec correctly plugged into playbin
This commit is contained in:
parent
8e66a17830
commit
426a6eaba9
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue