Commit Graph

41 Commits

Author SHA1 Message Date
Michael Stefaniuc ad20f4831d qedit: Drop redundant NULL check before free().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-24 15:02:12 +02:00
Zebediah Figura 0e6fc4d81c qedit: Free type libraries on process detach (Valgrind).
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-08 21:01:33 +02:00
Gabriel Ivăncescu 28ec279518 qedit: Implement IMediaDet::get_StreamLength().
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-27 21:36:12 +02:00
Gabriel Ivăncescu 11fd209205 qedit: Use the pin's media type instead of querying for IFileSourceFilter.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-27 21:36:12 +02:00
Gabriel Ivăncescu ef00425a9c qedit: Retrieve the pin media type using a helper function.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-27 21:36:12 +02:00
Gabriel Ivăncescu ba5afd8c30 qedit: Check for S_OK when enumerating the source pin.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-27 19:30:49 +02:00
Gabriel Ivăncescu 317d5c9688 qedit: Check for S_OK when enumerating the splitter pin.
The splitter may return S_FALSE (no pins) and this caused a crash when it
somehow matched with the File Source (Async).

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-27 19:30:47 +02:00
Gabriel Ivăncescu 4d94e773fc qedit: Remove the splitter from the graph if it failed to connect.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-24 10:09:41 +02:00
Gabriel Ivăncescu 2e6f5e6784 qedit: Store the filename instead of querying the filter for it.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-24 10:09:38 +02:00
Gabriel Ivăncescu 8c157d8615 qedit: Implement IMediaDet::put_Filter().
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-24 10:09:34 +02:00
Gabriel Ivăncescu 2ba32469f2 qedit: Move GetSplitter up and rename it.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-24 10:09:32 +02:00
Gabriel Ivăncescu 2bc334a0fd qedit: Move GetFilterInfo up and rename it.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-24 10:09:26 +02:00
Gabriel Ivăncescu ac15cc7058 qedit: Use "Source" as the name of the source filter.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-20 12:34:07 +02:00
Gabriel Ivăncescu 7a1a93a70a qedit: Implement IMediaDet::get_Filter().
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-20 12:34:04 +02:00
Gabriel Ivăncescu 15ea804a17 qedit: Implement IMediaDet::get_StreamTypeB().
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-20 12:33:59 +02:00
Gabriel Ivăncescu 9650f5a7db qedit: Implement IMediaDet::get_StreamType().
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-20 12:33:56 +02:00
Zebediah Figura 98143898db qedit: Pass an IUnknown pointer to the object creation functions.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-12 10:11:58 +01:00
Zebediah Figura d4bf8b2acd qedit: Use wide character string literals.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-21 20:55:08 +01:00
Zebediah Figura 9defa529fc qedit/mediadet: Check for failure from IEnumPins::Next().
Fixes a test crash when gstreamer is not present.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-01 10:31:04 +01: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 552037c925 qedit: Remove an unused and wrong assignment (PVS-Studio). 2015-01-21 15:28:57 +01:00
Nikolay Sivov 3c716499cc qedit: Use V_BSTR() to access BSTR data. 2014-09-03 11:21:49 +02:00
Michael Stefaniuc 2f67eb99ef qedit: Let C look like C. 2013-02-07 12:03:54 +01:00
Michael Stefaniuc 855046fe87 qedit: Support COM aggregation for MediaDet. 2012-07-02 11:21:44 +02:00
Michael Stefaniuc 454110ee34 qedit: Print the debug string and not the pointer to it. 2012-03-26 18:15:29 +02:00
Alexandre Julliard dc880388e1 qedit: Avoid releasing an uninitialized object. 2012-01-16 17:41:56 +01:00
Michael Stefaniuc 5c2cf08674 qedit: Use an iface instead of a vtbl pointer in MediaDetImpl. 2010-12-09 12:25:21 +01:00
Maarten Lankhorst b769a266cf qedit: Try all possible splitter filters instead of only the first one. 2010-11-26 12:15:10 +01:00
Michael Stefaniuc 98fbcc4de2 qedit: Avoid using long. 2010-05-11 11:06:55 +02:00
Huw Davies 33a193439d qedit: Fix a memory leak.
Found by Valgrind.
2009-12-15 16:25:06 +01:00
Michael Stefaniuc b14c0056dd qedit: Change long to LONG in qedit.idl. 2009-03-12 13:09:54 +01:00
Dan Hipschman dfbb2fc9e0 qedit: Add a stub for IMediaDet_get_StreamLength.
To get this working by querying the filters for IMediaSeeking and calling
GetDuration, we need a little better support from quartz.  For now a stub
is better than nothing.
2008-04-10 09:55:14 +02:00
Dan Hipschman 9536002552 qedit: Implement IMediaDet_get_FrameRate. 2008-04-10 09:55:03 +02:00
Dan Hipschman 3b0d68e409 qedit: Implement IMediaDet_get_StreamMediaType. 2008-04-10 09:54:53 +02:00
Dan Hipschman 33f270afc0 qedit: Implement IMediaDet_(put|get)_CurrentStream. 2008-04-09 11:46:59 +02:00
Dan Hipschman d3061d48e1 qedit: Implement IMediaDet_get_OutputStreams. 2008-04-09 11:46:38 +02:00
Dan Hipschman 7d2d5a25cb qedit: Implement IMediaDet_get_Filename. 2008-04-09 11:44:51 +02:00
Dan Hipschman dc3d6fbe7f qedit: Implement IMediaDet_put_Filename. 2008-04-09 11:44:41 +02:00
Dan Hipschman f95a849a28 qedit: Indicate the methods of IMediaDet are not implemented in the FIXMEs. 2008-04-04 11:50:58 +02:00
Lei Zhang 4868cde91d qedit: Add stub implementation of MediaDet. 2008-02-19 18:04:08 +01:00