d3dvideosink: Use secondary rank

d3dvideosink will be replaced by d3d11videosink

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1311>
This commit is contained in:
Seungha Yang 2020-06-03 17:49:41 +09:00
parent 116d7453cb
commit c4a2fd7683

View 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;