Commit Graph

31 Commits

Author SHA1 Message Date
Nikolay Sivov d6acb0edb8 mfreadwrite: Add partial implementation of SetCurrentPosition() for source reader.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 08:58:13 +01:00
Nikolay Sivov ca84c6e82e mfreadwrite: Forward remaining indices in GetPresentationAttribute() to stream descriptors.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 08:58:07 +01:00
Nikolay Sivov 021b0e2f68 mfreadwrite: Add support for MF_SOURCE_READER_DISCONNECT_MEDIASOURCE_ON_SHUTDOWN.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 08:57:59 +01:00
Nikolay Sivov 9e57659b7b mfreadwrite: Keep async callback reference for the reader.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 08:57:56 +01:00
Nikolay Sivov a35ddb13b7 mfreadwrite: Support source configuration with MF_SOURCE_READER_MEDIASOURCE_CONFIG.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-20 08:57:52 +01:00
Nikolay Sivov 04c8a756d6 mfreadwrite: Implement GetNativeMediaType() for source reader.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:31:57 +01:00
Nikolay Sivov f939fde874 mfreadwrite: Implement stream selection methods for source reader.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:31:55 +01:00
Nikolay Sivov 79b37c8aa0 mfreadwrite: Determine first streams on reader creation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:31:52 +01:00
Nikolay Sivov 160b4093cf mfreadwrite: Implement GetServiceForStream() for media source.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:31:50 +01:00
Nikolay Sivov 9dd9602d8c mfreadwrite: Forward GetPresentationAttribute() to descriptor when appropriate.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:31:47 +01:00
Nikolay Sivov ff9a6e69dd mfreadwrite: Shut down source on reader destruction.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:31:45 +01:00
Nikolay Sivov 13e7887162 mfreadwrite: Subscribe to source events on reader creation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-19 18:31:43 +01:00
Nikolay Sivov fcae0bc755 mfreadwrite: Query presentation descriptor on reader creation.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-18 16:52:52 +01:00
Michael Stefaniuc 1d1c038391 mfreadwrite: Remove useless cast to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 23:53:08 +01:00
Jactry Zeng e00bfc4c91 mfplat: Add support for string attributes.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 15:58:02 +01:00
Jactry Zeng c127fab80e mfplat: Add support for integer attribute values.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-14 15:58:02 +01:00
Nikolay Sivov 9ef27b8d24 mfreadwrite: Return source flags through MF_SOURCE_READER_MEDIASOURCE_CHARACTERISTICS.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 11:00:10 +01:00
Nikolay Sivov eca0e8bb4f mfreadwrite: Keep source reference in source reader.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-13 11:00:04 +01:00
Nikolay Sivov 9bf4db1325 mfreadwrite: Implement MFCreateSourceReaderFromURL().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Nikolay Sivov 95ab51105b mfreadwrite: Use source resolver when creating reader from bytestream.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-12 10:53:40 +01:00
Nikolay Sivov db8a6df46f mfuuid: Define Media Platform guids.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-11 17:54:08 +01:00
Nikolay Sivov 64eced491d mfreadwrite: Add sink writer 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 50cef89646 mfreadwrite: Add CreateInstanceFromObject() stub for source reader.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-22 12:29:48 +01:00
Nikolay Sivov 4bca67bd47 mfreadwrite/tests: Initialize COM only for tests that need it.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-21 16:06:28 +01:00
Nikolay Sivov b91fbb1c28 mfreadwrite: Add MFReadWriteClassFactory stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-21 16:06:25 +01:00
Alistair Leslie-Hughes 46911cf90a mfreadwrite: Register MFReadWriteClassFactory interface.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-04 19:20:49 +01:00
Alistair Leslie-Hughes 7f6ffbfc67 mfreadwrite: Add DllGetClassObject/DllCanUnloadNow functions.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-04 19:20:49 +01:00
Alistair Leslie-Hughes 2e4afec590 mfreadwrite: Add initial tests.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-29 17:12:13 +01:00
Alistair Leslie-Hughes bf0cad095f mfreadwrite: Implement MFCreateSourceReaderFromByteStream.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-07 19:48:31 +02:00
Alistair Leslie-Hughes 0dc677c05f mfreadwrite: Add MFCreateSourceReaderFromMediaSource stub.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 20:21:34 +01:00
Austin English 89ecba6c48 mfreadwrite: Add stub dll. 2014-12-11 20:57:54 +01:00