Commit Graph

173 Commits

Author SHA1 Message Date
Nikolay Sivov 1a79d1c765 mf/tests: Add sample processing tests for Video Processor.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-12 23:40:41 +02:00
Nikolay Sivov 672ce5c7d1 mf: Forward grabber clock state change calls to user callback.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 18:30:25 +02:00
Nikolay Sivov 2d4387c1f5 mf: Add support for IMFSampleGrabberSinkCallback2.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 18:30:25 +02:00
Alexandre Julliard c7d06a084b mf: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-11 08:23:31 +02:00
Nikolay Sivov 880559b2b4 mf: Implement stream flushing for sample grabber.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:17:13 +02:00
Nikolay Sivov f525251226 mf: Add support for MEStreamSinkMarker event for sample grabber.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:17:10 +02:00
Nikolay Sivov 5371d6b82b mf: Raise sample request events for sample grabber stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-10 12:17:07 +02:00
Nikolay Sivov 54e45dbf7d mf: Implement clock-synchronized mode for ProcessSample() in sample grabber sink.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-06 15:30:46 +02:00
Nikolay Sivov 91afd770a3 mf/tests: Add some more Video Processor tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-05 16:46:43 +02:00
Nikolay Sivov 9175a5f993 mf/tests: Add some tests for video processor MFT.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-03 22:33:30 +02:00
Nikolay Sivov d9cd07fd4e mf: Add rate support for presentation clock.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-03 22:33:30 +02:00
Nikolay Sivov 2bc81c53a7 mf: Forward GetCorrelatedTime() to time source.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 12:45:46 +02:00
Nikolay Sivov f8537c5acd mf: Forward GetTime() calls to time source.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 12:45:42 +02:00
Nikolay Sivov bd2e2141b0 mf: Return presentation clock properties.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 12:45:36 +02:00
Nikolay Sivov 34ffec67a7 mf: Get presentation clock flags from current time source.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 12:45:30 +02:00
Nikolay Sivov 0efb33c2da mf: Raise event on session close.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 12:45:26 +02:00
Nikolay Sivov 33a4151bbe mf: Partially implement Shutdown() for media session.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 12:45:18 +02:00
Nikolay Sivov 81e16e90c4 mf: Implement ProcessSample() for unclocked mode.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 21:53:27 +02:00
Nikolay Sivov 2dba94b278 mf: Maintain sample grabber sink state.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 21:53:27 +02:00
Alexandre Julliard 838965a75b mf/tests: Initialize variable to avoid spurious test failure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 20:20:09 +02:00
Nikolay Sivov 5d6241fbcb mf: Detach sink stream on sample grabber shutdown.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-28 20:17:49 +02:00
Nikolay Sivov 2407a0f53b mf: Implement presentation clock methods for sample grabber.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-28 20:17:47 +02:00
Nikolay Sivov 3139727a97 mf: Implement type handler methods for sample grabber stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-27 20:52:38 +02:00
Nikolay Sivov c742a4e18d mf: Add events support for grabber sink.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 18:32:28 +02:00
Nikolay Sivov 2045afe450 mf: Add events support for grabber stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 18:32:26 +02:00
Nikolay Sivov e6c488de36 mf: Add clock state sink stub for grabber.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 18:32:24 +02:00
Nikolay Sivov a2c8658bd2 mf: Add IMFMediaTypeHandler stub for grabber stream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 18:32:21 +02:00
Nikolay Sivov dfd8457fd5 mf: Add sample grabber sink stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-20 18:32:19 +02:00
Nikolay Sivov 73fae7aa5b mf: Slightly improve topoloader Load().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-17 20:02:34 +02:00
Nikolay Sivov 42ba38c14c mf: Create presentation clock on session creation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 20:14:00 +02:00
Nikolay Sivov 8e6fa7e9b0 mf/session: Add stubs for playback rate API.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-14 20:14:00 +02:00
Nikolay Sivov a005e250f0 mf: Add support for async commands for media session.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 12:44:56 +02:00
Nikolay Sivov 12a02e98a5 mf: Add stubs to create audio renderer sink.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-13 12:44:54 +02:00
Nikolay Sivov 83f5951810 mf: Add IMFGetService stub for media session.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-08 08:31:01 -05:00
Nikolay Sivov 37a7b65140 mf: Disconnect removed nodes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-08 08:30:55 -05:00
Nikolay Sivov 184f999459 mf: Rework node collection implementation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-08 08:30:49 -05:00
Nikolay Sivov 6b1a33ce93 mf: Implement node connections.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-08 08:30:43 -05:00
Nikolay Sivov 71397e6ebf mf: Implement CloneFrom() for nodes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-07 08:47:34 -05:00
Nikolay Sivov 45d084d789 mf: Set preferred media types for nodes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-07 08:47:31 -05:00
Nikolay Sivov c1d023565a mf: Implement SetObject()/GetObject() for topology node.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 07:13:54 -05:00
Nikolay Sivov 3170638758 mf: Add a stub for sample grabber activation object.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-06 07:13:54 -05:00
Nikolay Sivov 8c69a77032 mf: Implement file scheme handler.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-03 16:31:24 +02:00
Nikolay Sivov 9e948c47f6 mf: Register file: scheme handler.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-02 23:37:57 +02:00
Nikolay Sivov 136312e2dc mf: Add MFEnumDeviceSources() stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-30 20:08:41 +02:00
Nikolay Sivov df9a047aa2 mf: Add stub scheme handler for local file urls.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-29 18:46:25 +02:00
Nikolay Sivov b4811dbf26 mf/tests: Fix test crash on Vista.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-15 12:50:25 +02:00
Nikolay Sivov 338ba122f3 mf: Add support for clock sink notifications.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:01 +01:00
Nikolay Sivov f64f0f266f mf: Keep a list of clock state sinks.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:56:59 +01:00
Nikolay Sivov c815f908f9 mf: Control time source state from presentation clock.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:56:56 +01:00
Nikolay Sivov 98a28d1493 mf: Add a stub for default presentation clock.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-05 20:41:02 +01:00
Nikolay Sivov c7f0a4cb65 mf/tests: Add some tests for session events support.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 16:47:09 +01:00
Nikolay Sivov 2f1666903e mf: Implement MFShutdownObject().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-04 16:46:40 +01:00
Nikolay Sivov 22b304fd1d mf/tests: Fix typos in test messages.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-26 15:01:01 +01:00
Nikolay Sivov 5c43f5174e mf: Assign topology identifiers.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:51:21 +01:00
Nikolay Sivov 202e9592d5 mf: Add IMFTopoLoader stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:51:21 +01:00
Nikolay Sivov 8f9db43173 mf: Use event queue for session event handling.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:51:21 +01:00
Nikolay Sivov ce557d1962 mf/tests: Add a basic test creating media session.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:51:21 +01:00
Nikolay Sivov b474b9138c mf: Add support for source and output collections.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-25 12:51:21 +01:00
Nikolay Sivov 82e51117c3 mf: Implement topology node handling.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-22 12:30:02 +01:00
Nikolay Sivov d2794fe6b7 mf/tests: Add another test for duplicate node ids.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-22 12:29:54 +01:00
Nikolay Sivov e88a253512 mf: Assign node id on creation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-22 12:29:51 +01:00
Nikolay Sivov 2a1576c0d3 mf/tests: Add some tests for node management.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-21 16:06:20 +01:00
Alistair Leslie-Hughes 19ede86938 mf: Add IMFSequencerSource stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 09:19:29 +01:00
Nikolay Sivov 2de2bf6ddf mf: Add IMFTopologyNode stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 09:19:24 +01:00
Nikolay Sivov 8d996644de mf: Add attributes store to topology object.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-20 09:19:20 +01:00
Sven Baars d4ff44427e mf: Return S_OK from IMFMediaSession::Close.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-26 16:41:47 +01:00
Sven Baars d1a37bfa57 mf: Add a trace to MFCreateTopology.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-14 17:48:55 +01:00
Nikolay Sivov 42b04e2cf4 mfplat: Implement MFGetService().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-20 18:06:04 +01:00
Andrey Gusev 1d7e48a522 mf: Add MFGetSupportedMimeTypes stub.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-06 19:55:03 +01:00
Nikolay Sivov 58adb553e4 mf: Added IMFMediaSession stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-05 11:07:25 +02:00
Nikolay Sivov 8323871f55 mf: Added MFCreateTopology and stub IMFTopology implementation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-01 09:38:17 +02:00
Nikolay Sivov a1d3a7f7bf mfplat: Return stub IMFSourceResolver from MFCreateSourceResolver().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-30 21:49:50 +02:00
Austin English a679caedf6 mf: Add stub dll. 2015-02-10 23:33:59 +09:00