mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 01:45:33 +00:00
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:
parent
39f15af038
commit
ac6b3e9a45
2 changed files with 3 additions and 2 deletions
|
@ -7305,7 +7305,7 @@
|
||||||
"writable": false
|
"writable": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"rank": "primary"
|
"rank": "primary + 1"
|
||||||
},
|
},
|
||||||
"d3d11colorconvert": {
|
"d3d11colorconvert": {
|
||||||
"author": "Seungha Yang <seungha@centricular.com>",
|
"author": "Seungha Yang <seungha@centricular.com>",
|
||||||
|
|
|
@ -192,7 +192,8 @@ plugin_init (GstPlugin * plugin)
|
||||||
gst_d3d11_h265_dec_register (plugin, device, GST_RANK_PRIMARY + 1);
|
gst_d3d11_h265_dec_register (plugin, device, GST_RANK_PRIMARY + 1);
|
||||||
gst_d3d11_vp9_dec_register (plugin, device, GST_RANK_PRIMARY);
|
gst_d3d11_vp9_dec_register (plugin, device, GST_RANK_PRIMARY);
|
||||||
gst_d3d11_vp8_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);
|
gst_d3d11_mpeg2_dec_register (plugin, device, GST_RANK_SECONDARY);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue