From 9d926ae8b15ce029cbd4c8070974e493cc5d0ff4 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Sat, 22 Oct 2022 04:09:39 +0900 Subject: [PATCH] mfvideoencoder: Document only hardware encoders Part-of: --- .../gst-plugins-bad/sys/mediafoundation/gstmfvideoencoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/sys/mediafoundation/gstmfvideoencoder.cpp b/subprojects/gst-plugins-bad/sys/mediafoundation/gstmfvideoencoder.cpp index a7632473b4..9d093ecdc0 100644 --- a/subprojects/gst-plugins-bad/sys/mediafoundation/gstmfvideoencoder.cpp +++ b/subprojects/gst-plugins-bad/sys/mediafoundation/gstmfvideoencoder.cpp @@ -1921,7 +1921,7 @@ gst_mf_video_encoder_register_internal (GstPlugin * plugin, guint rank, if (rank > 0 && !is_default) rank--; - if (!is_default) + if (!is_default || !device_caps->d3d11_aware) gst_element_type_set_skip_documentation (type); if (!gst_element_register (plugin, feature_name, rank, type))