d3d11av1dec: Promote rank to primary + 1

... so that this element can have higher rank than the other software
AV1 decoders

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3495>
This commit is contained in:
Seungha Yang 2022-12-01 03:52:53 +09:00 committed by GStreamer Marge Bot
parent 39f15af038
commit ac6b3e9a45
2 changed files with 3 additions and 2 deletions

View file

@ -7305,7 +7305,7 @@
"writable": false
}
},
"rank": "primary"
"rank": "primary + 1"
},
"d3d11colorconvert": {
"author": "Seungha Yang <seungha@centricular.com>",

View file

@ -192,7 +192,8 @@ plugin_init (GstPlugin * plugin)
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);
/* 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);
}