mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-03 16:09:39 +00:00
d3d11videosink: Remove max size condition from pool
Actually our buffer pool size and the number of backbuffer are independent. In case of reverse playback, upstream might request a lot of buffers (up to GOP size).
This commit is contained in:
parent
266dc41596
commit
6da90b59f4
1 changed files with 1 additions and 2 deletions
|
@ -658,8 +658,7 @@ gst_d3d11_video_sink_propose_allocation (GstBaseSink * sink, GstQuery * query)
|
|||
}
|
||||
}
|
||||
|
||||
gst_query_add_allocation_pool (query, pool, size, 2,
|
||||
DXGI_MAX_SWAP_CHAIN_BUFFERS);
|
||||
gst_query_add_allocation_pool (query, pool, size, 2, 0);
|
||||
if (pool)
|
||||
g_object_unref (pool);
|
||||
|
||||
|
|
Loading…
Reference in a new issue