d3dvideosink: create a d3d device for each sink and use the default swap chain in connection with flushing the GPU and not recreating the swap chain this avoids tearing also use GST_xx_DEBUG macros where appropriate
This commit is contained in:
parent
ab22a64a13
commit
0c5037072a
File diff suppressed because it is too large
Load Diff
@ -83,8 +83,9 @@ struct _GstD3DVideoSink
|
||||
gboolean is_hooked;
|
||||
|
||||
GMutex *d3d_swap_chain_lock;
|
||||
LPDIRECT3DSWAPCHAIN9 d3d_swap_chain;
|
||||
LPDIRECT3DSURFACE9 d3d_offscreen_surface;
|
||||
LPDIRECT3DDEVICE9 d3ddev;
|
||||
D3DPRESENT_PARAMETERS d3dpp;
|
||||
|
||||
D3DFORMAT d3dformat;
|
||||
D3DFORMAT d3dfourcc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user