mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 10:38:27 +00:00
d3d11h265dec: Assign PRIMARY + 1 rank
Promote d3d11h265dec to be default one if available Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2314>
This commit is contained in:
parent
dce45586e8
commit
4047653275
1 changed files with 2 additions and 1 deletions
|
@ -183,7 +183,8 @@ plugin_init (GstPlugin * plugin)
|
|||
gst_d3d11_h264_dec_register (plugin,
|
||||
device, GST_RANK_PRIMARY + 1, legacy);
|
||||
if (!legacy) {
|
||||
gst_d3d11_h265_dec_register (plugin, device, GST_RANK_PRIMARY);
|
||||
/* avdec_h265 has primary rank, make this higher than it */
|
||||
gst_d3d11_h265_dec_register (plugin, device, GST_RANK_PRIMARY + 1);
|
||||
gst_d3d11_vp9_dec_register (plugin, device, GST_RANK_PRIMARY);
|
||||
gst_d3d11_vp8_dec_register (plugin, device, GST_RANK_PRIMARY);
|
||||
gst_d3d11_av1_dec_register (plugin, device, GST_RANK_PRIMARY);
|
||||
|
|
Loading…
Reference in a new issue