d3dvideosink: Use secondary rank
authorSeungha Yang <seungha@centricular.com>
Wed, 3 Jun 2020 08:49:41 +0000 (17:49 +0900)
committerSeungha Yang <seungha@centricular.com>
Wed, 3 Jun 2020 08:57:40 +0000 (17:57 +0900)
d3dvideosink will be replaced by d3d11videosink

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1311>

sys/d3dvideosink/d3dvideosink.c

index 0e353dd..5c6a974 100644 (file)
@@ -651,7 +651,7 @@ plugin_init (GstPlugin * plugin)
 {
   /* PRIMARY: this is the best videosink to use on windows */
   if (!gst_element_register (plugin, ELEMENT_NAME,
-          GST_RANK_PRIMARY, GST_TYPE_D3DVIDEOSINK))
+          GST_RANK_SECONDARY, GST_TYPE_D3DVIDEOSINK))
     return FALSE;
 
   return TRUE;