From 50cebd3ba89c328972e5fcee9151cc7f2a93191c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Fri, 4 Apr 2025 13:20:09 -0400 Subject: [PATCH] qsv: Add since marker to device-path property Part-of: --- subprojects/gst-plugins-bad/sys/qsv/gstqsvdecoder.cpp | 7 +++++++ subprojects/gst-plugins-bad/sys/qsv/gstqsvencoder.cpp | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/subprojects/gst-plugins-bad/sys/qsv/gstqsvdecoder.cpp b/subprojects/gst-plugins-bad/sys/qsv/gstqsvdecoder.cpp index eb1592e862..786258f025 100644 --- a/subprojects/gst-plugins-bad/sys/qsv/gstqsvdecoder.cpp +++ b/subprojects/gst-plugins-bad/sys/qsv/gstqsvdecoder.cpp @@ -169,6 +169,13 @@ gst_qsv_decoder_class_init (GstQsvDecoderClass * klass) "DXGI Adapter LUID (Locally Unique Identifier) of created device", G_MININT64, G_MAXINT64, 0, param_flags)); #else + /** + * GstQsvDecoder:device-path: + * + * DRM device path + * + * Since: 1.22 + */ g_object_class_install_property (object_class, PROP_DEVICE_PATH, g_param_spec_string ("device-path", "Device Path", "DRM device path", nullptr, param_flags)); diff --git a/subprojects/gst-plugins-bad/sys/qsv/gstqsvencoder.cpp b/subprojects/gst-plugins-bad/sys/qsv/gstqsvencoder.cpp index e659878be7..9366c8e14c 100644 --- a/subprojects/gst-plugins-bad/sys/qsv/gstqsvencoder.cpp +++ b/subprojects/gst-plugins-bad/sys/qsv/gstqsvencoder.cpp @@ -219,6 +219,13 @@ gst_qsv_encoder_class_init (GstQsvEncoderClass * klass) "DXGI Adapter LUID (Locally Unique Identifier) of created device", G_MININT64, G_MAXINT64, 0, param_flags)); #else + /** + * GstQsvEncoder:device-path: + * + * DRM device path + * + * Since: 1.22 + */ g_object_class_install_property (object_class, PROP_DEVICE_PATH, g_param_spec_string ("device-path", "Device Path", "DRM device path", nullptr, param_flags));