Zebediah Figura
e8e4fcc5a7
qedit/samplegrabber: Reconnect the sink pin if necessary.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-10 14:56:50 +01:00
Zebediah Figura
10c6b08b07
qedit/samplegrabber: Don't verify the format block in sample_grabber_sink_connect().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-10 14:56:50 +01:00
Zebediah Figura
114b99fba9
qedit/samplegrabber: Correctly implement sample_grabber_source_get_media_type().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-10 14:56:50 +01:00
Zebediah Figura
cdf7d4ff9a
qedit/samplegrabber: Implement sample_grabber_source_query_accept().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-10 14:56:49 +01:00
Zebediah Figura
a5f547420f
qedit/samplegrabber: Don't overwrite the filter media type in sample_grabber_sink_connect().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-10 14:56:49 +01:00
Zebediah Figura
e09a47c4b7
qedit/samplegrabber: Use strmbase media type helpers.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 21:28:24 +01:00
Zebediah Figura
d11b31fdbe
qedit/samplegrabber: Rename the "mtype" field to "filter_mt".
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 21:28:24 +01:00
Zebediah Figura
94111ea281
qedit/samplegrabber: Initialize the media type filter to use wild cards instead of "None" types.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 21:28:24 +01:00
Zebediah Figura
a1a587a83a
qedit/samplegrabber: Use BaseOutputPinImpl_AttemptConnection().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-07 21:28:24 +01:00
Zebediah Figura
6f71e2c48d
strmbase: Store the filter name and graph directly in the strmbase_filter structure.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-31 10:19:52 +01:00
Zebediah Figura
445f1a6929
qedit/samplegrabber: Fix a typo in format type negotiation.
...
Fixes a regression introduced by 2c8e152ff0
.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-16 11:58:24 +01:00
Zebediah Figura
835631c3cc
qedit/samplegrabber: Consistently use the "pMemInputPin" member of struct strmbase_source.
...
Fixes a regression introduced by 2c8e152ff0
.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-16 11:58:18 +01:00
Zebediah Figura
e71b03aaf2
qedit/samplegrabber: Clean up the pins in sample_grabber_destroy().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-16 11:57:37 +01:00
Zebediah Figura
a6aea1cecd
strmbase: Get rid of the "vtbl" parameter to strmbase_sink_init().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 09:57:00 +01:00
Zebediah Figura
427ad8abe8
qedit/samplegrabber: Use strmbase sink connection methods.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-11 21:51:28 +01:00
Zebediah Figura
d14d19661a
strmbase: Add callbacks for sink (dis)connection.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-10 20:59:19 +01:00
Zebediah Figura
675e061142
strmbase: Get rid of the "vtbl" argument to strmbase_source_init().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:45 +01:00
Zebediah Figura
18f561a783
strmbase: Get rid of the "vtbl" parameter to strmbase_filter_init().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-05 23:36:16 +01:00
Zebediah Figura
3ee43f85b0
qedit/samplegrabber: Use BaseFilterImpl_JoinFilterGraph().
...
Manual testing shows that adding or removing the filter does not affect whether
it is in one-shot mode.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-04 09:36:26 +01:00
Zebediah Figura
bd83b11a23
strmbase: Return a strmbase_pin pointer from the filter_get_pin() callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Zebediah Figura
95f33d68d3
qedit/samplegrabber: Reimplement the sink pin over the strmbase sink.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-20 09:09:19 +01:00
Zebediah Figura
2c8e152ff0
qedit/samplegrabber: Reimplement the source pin over the strmbase source.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-20 09:09:01 +01:00
Zebediah Figura
23b99c7ab4
qedit/samplegrabber: Use strmbase state change methods.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-28 18:32:05 +01:00
Zebediah Figura
eeb7bc58aa
strmbase: Get rid of the BaseFilter typedef.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-29 20:08:14 +02:00
Zebediah Figura
cfe3b05c83
strmbase: Get rid of the BaseFilterFuncTable typedef.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-29 20:08:14 +02:00
Zebediah Figura
1317102f6c
strmbase: Get rid of the "debug_info" parameter to strmbase_filter_init().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-28 08:44:35 +02:00
Zebediah Figura
690838a0e0
strmbase: Don't increment the pin reference count in filter_get_pin().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 18:21:26 +02:00
Zebediah Figura
3b474993af
qedit/samplegrabber: Use BaseFilterImpl_QueryVendorInfo().
...
Native does not implement QueryVendorInfo(); we have no reason to do so ourselves.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 18:21:03 +02:00
Zebediah Figura
32fd95befe
qedit/samplegrabber: Use BaseFilterImpl_FindPin().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 17:40:46 +02:00
Zebediah Figura
9f3e724161
qedit/samplegrabber: Use strmbase filter aggregation support.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-05 16:44:17 +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
1fc5c6b75d
strmbase: Remove unnecessary calling convention from the filter_get_pin() callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 11:25:35 +02:00
Zebediah Figura
8a8c5a8229
strmbase: Rename pfnGetPin to filter_get_pin.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 11:25:35 +02:00
Zebediah Figura
97546ca0b7
strmbase: Use an unsigned int for the GetPin() callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-24 11:25:35 +02:00
Zebediah Figura
68368a17b8
qedit/samplegrabber: Use strmbase_filter_cleanup().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-23 08:56:33 +02:00
Zebediah Figura
5351870ea1
qedit/samplegrabber: Correctly delegate IUnknown methods on the IMemInputPin interface.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 09:21:03 +02:00
Zebediah Figura
dad885e2b9
strmbase: Get rid of the "pfnGetPinCount" callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 10:29:15 +02:00
Zebediah Figura
7b6604d97f
qedit/samplegrabber: Separate sink and source QueryInterface() implementations.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-18 18:43:20 +02:00
Zebediah Figura
975eabff33
qedit/samplegrabber: Don't expose IMediaSeeking from the filter.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 12:50:25 +02:00
Zebediah Figura
e5c1567905
qedit/samplegrabber: Don't expose IMediaPosition from the filter.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 12:50:25 +02:00
Michael Stefaniuc
1e662d92ba
qedit: Remove redundant NULL checks before CoTaskMemFree().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:13:00 +09:00
Michael Stefaniuc
9525b1e2cf
qedit: Avoid casting a COM object to an iface.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-05 23:22:04 +09:00
Andrew Eikum
3104b17f86
qedit: Don't require SampleGrabber to be playing to call callback.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-17 00:12:42 +09:00
Alex Henrie
36113e6ded
qedit: Remove redundant "return 0" from Release functions.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-29 23:20:14 +09:00
Alex Henrie
bac92dd689
qedit: List parameters in order in create function traces.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:19:17 +09:00
Michael Stefaniuc
f34efaab98
qedit: Simplify/fix the creation of the IEnumMediaTypes.
2015-08-13 15:05:26 +09:00
Michael Stefaniuc
2d3edce0f8
qedit: COM cleanup for IEnumMediaTypes of SampleGrabber.
2015-08-13 15:05:22 +09:00
Michael Stefaniuc
59ed2131ac
qedit: Use the generic IEnumPin implementation for SampleGrabber.
2014-02-22 08:40:35 -06:00
Michael Stefaniuc
147cf6cc4e
qedit: Use the generic BaseFilter implementation in SampleGrabber.
2014-02-20 11:19:26 +01:00
Michael Stefaniuc
ec9d32adf8
qedit: Return the correct iface in IEnumPins_QueryInterface().
2014-02-12 19:15:10 +01:00