d3d12decoder: Hide non-default device from docs

... and add since marker

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5481>
This commit is contained in:
Seungha Yang 2023-10-13 21:40:45 +09:00 committed by GStreamer Marge Bot
parent 8a35c8a2a5
commit c5d60cee01
5 changed files with 18 additions and 0 deletions

View file

@ -321,6 +321,9 @@ gst_d3d12_av1_dec_register (GstPlugin * plugin, GstD3D12Device * device,
if (rank > 0 && index != 0)
rank--;
if (index != 0)
gst_element_type_set_skip_documentation (type);
if (!gst_element_register (plugin, feature_name, rank, type))
GST_WARNING ("Failed to register plugin '%s'", type_name);

View file

@ -321,6 +321,9 @@ gst_d3d12_h264_dec_register (GstPlugin * plugin, GstD3D12Device * device,
if (rank > 0 && index != 0)
rank--;
if (index != 0)
gst_element_type_set_skip_documentation (type);
if (!gst_element_register (plugin, feature_name, rank, type))
GST_WARNING ("Failed to register plugin '%s'", type_name);

View file

@ -310,6 +310,9 @@ gst_d3d12_h265_dec_register (GstPlugin * plugin, GstD3D12Device * device,
if (rank > 0 && index != 0)
rank--;
if (index != 0)
gst_element_type_set_skip_documentation (type);
if (!gst_element_register (plugin, feature_name, rank, type))
GST_WARNING ("Failed to register plugin '%s'", type_name);

View file

@ -321,6 +321,9 @@ gst_d3d12_vp9_dec_register (GstPlugin * plugin, GstD3D12Device * device,
if (rank > 0 && index != 0)
rank--;
if (index != 0)
gst_element_type_set_skip_documentation (type);
if (!gst_element_register (plugin, feature_name, rank, type))
GST_WARNING ("Failed to register plugin '%s'", type_name);

View file

@ -17,6 +17,12 @@
* Boston, MA 02110-1301, USA.
*/
/**
* plugin-d3d12:
*
* Since: 1.24
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif