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
@ -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…
x
Reference in New Issue
Block a user