mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 11:10:37 +00:00
d3d11videosink: Assign primary rank
d3d11videosink has an advantage over d3dvideosink, such as * Zero-copy playback with d3d11 decoders * HDR rendering with 10-bit format/swapchain support * UWP support * Any system memory alignment/padding can be supported * User can select target GPU device And old d3dvideosink's functionality (e.g., navigation event, overlaycomposition) can be covered by d3d11videosink Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1311>
This commit is contained in:
parent
ab82893941
commit
116d7453cb
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ plugin_init (GstPlugin * plugin)
|
|||
gst_element_register (plugin,
|
||||
"d3d11videosinkelement", GST_RANK_NONE, GST_TYPE_D3D11_VIDEO_SINK);
|
||||
gst_element_register (plugin,
|
||||
"d3d11videosink", GST_RANK_SECONDARY - 1, GST_TYPE_D3D11_VIDEO_SINK_BIN);
|
||||
"d3d11videosink", GST_RANK_PRIMARY, GST_TYPE_D3D11_VIDEO_SINK_BIN);
|
||||
|
||||
#ifdef HAVE_DXVA_H
|
||||
/* DXVA2 API is availble since Windows 8 */
|
||||
|
|
Loading…
Reference in a new issue