143 Commits

Author SHA1 Message Date
Zebediah Figura
fb504baaa8 strmbase: Build with msvcrt.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-05 18:49:31 +02:00
Zebediah Figura
444f9b7ba2 strmbase: Rename pfnOnStopStreaming to renderer_stop_stream.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 10:56:03 +02:00
Zebediah Figura
fa5c24e933 strmbase: Rename pfnOnStartStreaming to renderer_start_stream.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 10:56:00 +02:00
Zebediah Figura
48b475ad00 strmbase: Remove several unused callbacks.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-03 10:55:57 +02:00
Zebediah Figura
881f938067 strmbase: Split RenderEvent into separate events for advising and flushing.
While it's certainly possible to use one event for both purposes, it's a
little less clear, and it makes it a little more difficult to do other waits
that need to be interrupted by flushing. For example, the video renderer
should block in Receive() after rendering the sample until the filter is run.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Zebediah Figura
659b93c7da strmbase: Rename "evComplete" to "state_event" for clarity.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-02 10:00:29 +02:00
Zebediah Figura
b583452af3 strmbase/renderer: Store the sink pin inline in the BaseRenderer structure.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 08:06:06 +02:00
Zebediah Figura
2dafbe079e strmbase/renderer: Remove some duplicated locks.
The pin and filter locks are always equal.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-21 08:06:03 +02:00
Zebediah Figura
5e63f7f93a quartz: Use strmbase IUnknown methods for IVideoWindow.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 16:11:06 +02:00
Zebediah Figura
fbd9133ee5 strmbase: Get rid of the "lpVtbl" parameter to BaseControlVideo_Init().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 16:10:57 +02:00
Zebediah Figura
cb0b2d81d2 quartz: Use strmbase IUnknown methods for IBasicVideo.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 16:10:51 +02:00
Zebediah Figura
105539f735 quartz/videorenderer: Use strmbase filter aggregation support.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 23:05:25 +02:00
Zebediah Figura
31a5cb5f05 strmbase: Support aggregation in the base filter.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 23:05:25 +02:00
Zebediah Figura
75af3556a8 quartz/videorenderer: Don't expose IAMFilterMiscFlags.
This reverts 822c3fe9eab143c0213a0e5a95d9ecdf77c93b38.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-21 18:08:37 +02:00
Zebediah Figura
dea50a98e8 quartz/videorenderer: Use strmbase_renderer_cleanup().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-16 10:00:33 +02:00
Zebediah Figura
4f16a137da strmbase: Correct pin IDs for renderers.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Michael Stefaniuc
fd99282319 quartz: There is no point in tracing the GUID pointer too.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 22:22:52 +09:00
Jan Schmidt
9f924276a6 quartz: Return the fullscreen status in Videorenderer.
Signed-off-by: Jan Schmidt <jan@centricular.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-21 12:30:21 +09:00
Michael Stefaniuc
6b16727803 quartz: Use wine_dbgstr_rect() to trace RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-19 21:06:10 +09:00
Michael Stefaniuc
f96aab3f22 quartz: Use SetRect instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-13 23:01:07 +09:00
Francois Gouget
78bf626d20 quartz: Remove unneeded NONAMELESSXXX directives. 2015-03-18 19:38:55 +09:00
Erich E. Hoover
ee94725c8e quartz: Fix race condition on EndFlush between csRenderLock and filter.csFilter. 2014-08-05 17:41:31 +02:00
Frédéric Delanoy
ec5da171e6 quartz: Use BOOL type where appropriate. 2013-10-25 13:36:01 +02:00
Christian Costa
0c0b229717 quartz: Fix case in some methods name. 2012-11-27 20:55:05 +01:00
Andrew Talbot
17cc65a0df quartz: Remove unused variables. 2012-11-22 11:54:42 +01:00
Christian Costa
c82d96fded quartz: Don't say we have a menu to AdjustWindowRectEx since the created window doesn't have one. 2012-10-10 10:37:11 +02:00
Christian Costa
266e79d05f quartz: Use target rect if set otherwise default to source rect in VideoRenderer_AutoShowWindow. 2012-10-10 10:37:06 +02:00
Christian Costa
03086e87ff quartz: Fill right RECT structure in SetDefaultTargetRec. 2012-10-09 18:32:25 +02:00
Michael Stefaniuc
02216db8ca quartz: Move VideoRenderer_create() to avoid forward declarations. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc
37cfaa2d02 quartz: Standardize COM aggregation for VideoRenderer. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc
eb6388c4a5 quartz: Don't set the VideoRenderer object on creation failure. 2012-07-02 10:58:34 +02:00
Michael Stefaniuc
d28971a23e quartz: COM cleanup for IAMFilterMiscFlags in VideoRenderer. 2012-07-02 10:58:34 +02:00
Aric Stewart
f38318705c strmbase: Track internal window styles in baseWindow.WindowStyles. 2012-04-26 19:28:03 +02:00
Aric Stewart
7d5c4ec1f8 strmbase: Have BaseControlVideo use BaseDispatch. 2012-04-20 19:15:11 +02:00
Aric Stewart
c7b12c10d8 strmbase: Have BaseControlWindow use BaseDispatch. 2012-04-20 19:15:08 +02:00
Francois Gouget
a3da9a7ab4 quartz: Mark a bunch of functions as static. 2012-04-20 12:00:16 +02:00
Aric Stewart
6aafd2f1de quartz: Correct a critical section lock reversal issue found by Marcus Meissner (Coverity). 2012-04-19 19:28:10 +02:00
Aric Stewart
dbf910b053 quartz: Change VideoRenderer to use strmbase's BaseControlVideo. 2012-04-03 12:20:15 +02:00
Aric Stewart
75300a7e32 quartz: Convert VideoRenderer to use strmbase's BaseControlWindow. 2012-04-03 12:20:03 +02:00
Aric Stewart
896be1355b quartz: Convert VideoRenderer to use strmbase BaseRenderer. 2012-04-03 12:18:44 +02:00
Aric Stewart
8830470a8c quartz: Have the VideoRenderer use strmbase BaseWindow. 2012-04-03 12:10:45 +02:00
Aric Stewart
29d3c75442 strmbase: COM cleanup for BaseFilter. 2012-03-26 18:15:48 +02:00
Michael Stefaniuc
810b619e2b quartz: Print the debug string and not the pointer to it. 2012-03-26 18:15:24 +02:00
Aric Stewart
cdf9c4f223 strmbase: Rename MediaSeekingPassThru to RendererPosPassThru to match standard strmbase naming. 2012-03-15 19:50:39 +01:00
Aric Stewart
026037ab69 strmbase: Move the MediaSeekingPassThru functions from quartz into strmbase. 2012-03-15 19:49:21 +01:00
Marcus Meissner
82cd229cc2 quartz: Removed const from const REFIID (Coverity). 2011-03-14 19:31:29 +01:00
Maarten Lankhorst
351165e30d quartz: Fix a race condition in videorenderer endflush. 2010-12-14 16:01:17 +01:00
Maarten Lankhorst
ab7986390a quartz: Always update time when Run is called. 2010-12-06 19:15:56 +01:00
Maarten Lankhorst
02986df061 quartz: Make video renderer use unicode calls. 2010-12-03 14:28:30 +01:00
Maarten Lankhorst
89161a8ded quartz: Make sure video window is actually destroyed. 2010-12-03 14:28:29 +01:00