Sweden-Number/dlls/winegstreamer
Giovanni Mascellani d869f4a8bc winegstreamer/media_source: Implement paused state.
For asynchronous elements like a media source the paused state is rather
similar to the playing state. The most revelant difference is that
RequestSample commands are not immediately executed, but are scheduled
in an internal queue. As soon as playback is restarted, all pending
operations are submitted again (or they are discarded if playback is
stopped).

This patch implements such a queue, together with proper event emitting
when the media source is paused. Also, the characteristic
MFMEDIASOURCE_CAN_PAUSE is announced.

This patch is required for correct playback of some videos in Deep Rock
Galactic.

Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 20:37:52 +02:00
..
Makefile.in makefiles: Make -mno-cygwin the default. 2021-09-20 22:45:48 +02:00
audioconvert.c
gst_guids.h
gst_private.h winegstreamer: Allocate source media buffers in the PE components. 2021-09-16 22:22:44 +02:00
main.c winegstreamer: Always return S_FALSE from DllCanUnloadNow(). 2021-08-26 09:34:28 +02:00
media_source.c winegstreamer/media_source: Implement paused state. 2021-09-27 20:37:52 +02:00
mfplat.c winegstreamer: Always return S_FALSE from DllCanUnloadNow(). 2021-08-26 09:34:28 +02:00
quartz_parser.c winegstreamer: Fix return code in init_gst failure case. 2021-09-17 10:43:30 +02:00
rsrc.rc
wg_parser.c Revert "winegstreamer: Replace source pad interface with GstAppSrc.". 2021-09-24 07:51:34 +02:00
winegstreamer.rgs
winegstreamer.spec
winegstreamer_classes.idl