d3d11mpeg2dec: Promote rank to PRIMARY + 1

Make its rank higher than avdec_mpeg2video

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4014>
This commit is contained in:
Seungha Yang 2023-02-21 19:29:18 +09:00 committed by GStreamer Marge Bot
parent 319f5f0760
commit fd77f088a1

View file

@ -194,7 +194,8 @@ plugin_init (GstPlugin * plugin)
gst_d3d11_vp8_dec_register (plugin, device, GST_RANK_PRIMARY);
/* rust dav1ddec has "primary" rank */
gst_d3d11_av1_dec_register (plugin, device, GST_RANK_PRIMARY + 1);
gst_d3d11_mpeg2_dec_register (plugin, device, GST_RANK_SECONDARY);
/* avdec_mpeg2video has primary rank */
gst_d3d11_mpeg2_dec_register (plugin, device, GST_RANK_PRIMARY + 1);
}
gst_d3d11_deinterlace_register (plugin, device, GST_RANK_MARGINAL);