Bernhard Kölbl
13106b2b38
mfmediaengine: Implement RemoveAllEffects().
...
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
2023-08-08 21:11:30 +09:00
Bernhard Kölbl
ffba650a33
mfmediaengine/tests: Add tests for RemoveAllEffects().
...
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
2023-08-08 21:11:30 +09:00
Bernhard Kölbl
d19af88f59
mfmediaengine/tests: Make effect tests more consistent.
...
Do this by waiting for the first available frame with a
separate ready event and removing flaky ref checks.
Signed-off-by: Bernhard Kölbl <bkoelbl@codeweavers.com>
2023-08-08 21:11:30 +09:00
Bernhard Kölbl
91a84cff95
mfmediaengine: Add support for inserting audio effects.
2023-07-17 09:40:01 +02:00
Bernhard Kölbl
096b46cf8d
mfmediaengine/tests: Add tests for audio effects.
2023-07-17 09:39:58 +02:00
Bernhard Kölbl
de1dd6cbf7
mfmediaengine: Add support for inserting video effects.
2023-07-06 20:54:29 +02:00
Bernhard Kölbl
621d153d45
mfmediaengine/tests: Add tests for video effects.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-07-06 20:54:29 +02:00
Nikolay Sivov
2775fe31cd
mfmediaengine/tests: Remove unnecessary broken() result.
2023-06-27 22:14:15 +02:00
Nikolay Sivov
36fcbba73e
mfmediaengine/tests: Use correct type for url argument in SetSourceFromByteStream().
2023-06-27 22:14:15 +02:00
Nikolay Sivov
6b9eb2d09f
mfmediaengine/tests: Allocate notification object on heap for frame transfer tests.
2023-06-27 22:14:15 +02:00
Nikolay Sivov
a79d27c04a
mfmediaengine: Implement GetNumberOfStreams().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-05-18 09:14:32 -05:00
Rémi Bernon
2f5d06af1d
mfmediaengine: Remove vertical flipping of video frames.
2022-10-14 18:03:38 +02:00
Rémi Bernon
ae4ecbe59e
mfmediaengine/tests: Check IMFMediaEngine_TransferVideoFrames output orientation.
2022-10-14 18:03:38 +02:00
Rémi Bernon
31871d713a
mfmediaengine/tests: Pass a device manager and output format to create_media_engine.
2022-10-14 18:03:37 +02:00
Nikolay Sivov
8ce0ab9739
mfmediaengine/tests: Remove unused header include.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 12:54:40 +02:00
Nikolay Sivov
7608e775ab
mfmediaengine: Implement GetStreamAttribute().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 09:31:42 +01:00
Nikolay Sivov
2086698e7d
mfmediaengine: Implement GetPresentationAttribute().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 09:31:40 +01:00
Nikolay Sivov
40c9923982
mfmediaengine: Handle realtime mode flag.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 09:31:37 +01:00
Nikolay Sivov
1d1eebf38a
mfmediaengine: Implement GetResourceCharacteristics().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-18 09:31:34 +01:00
Nikolay Sivov
29a9ba6e18
mfmediaengine/tests: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-14 21:20:41 +01:00
Nikolay Sivov
9b17bd1754
mfmediaengine: Improve AddRange() behavior for intersecting ranges.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:21 +01:00
Nikolay Sivov
4c61027967
mfmediaengine: Handle shutdown state in a few stubs.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:21 +01:00
Nikolay Sivov
a4890ac799
mfmediaengine: Handle shutdown state in GetBuffered().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:21 +01:00
Nikolay Sivov
318aa0f387
mfmediaengine: Handle shutdown state in Pause().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:21 +01:00
Nikolay Sivov
0f4f7ca937
mfmediaengine: Handle shutdown state in Play().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:21 +01:00
Nikolay Sivov
86c0afc797
mfmediaengine: Handle shutdown state in GetCurrentSource().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-28 21:10:20 +01:00
Alexandre Julliard
f0cd33c69e
include: Add support for defining Win32 types as 'long' where possible.
...
Add -DWINE_NO_LONG_TYPES to modules that still have compilation
warnings with long types.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 20:38:22 +01:00
Nikolay Sivov
6938f9b903
mfmediaengine: Implement audio renderer configuration methods.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 17:58:33 +01:00
Nikolay Sivov
9bf8fdaa8e
mfmediaengine: Implement SetSourceFromByteStream().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-27 17:58:31 +01:00
Alexandre Julliard
1077a5bd99
mfmediaengine: Remove unnecessary import library.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-26 21:53:56 +01:00
Nikolay Sivov
9af18c48cf
mfmediaengine/tests: Do not use stack variables for async notification callbacks.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-20 18:15:40 +01:00
Nikolay Sivov
ef11c41d41
mfmediaengine: Add IMFGetService stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-01-20 18:15:40 +01:00
Nikolay Sivov
04547b424d
mfmediaengine: Handle shutdown state in SetSource().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-20 21:51:13 +02:00
Nikolay Sivov
84b66e153d
mfmediaengine: Return full presentation range in GetBuffered().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-27 21:04:34 +01:00
Nikolay Sivov
db549a680e
mfmediaengine: Add partial implementation of a time range object.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-27 21:04:32 +01:00
Nikolay Sivov
86a72e055e
mfmediaengine: Handle shutdown state in GetNativeVideoSize().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-05 20:46:41 +01:00
Nikolay Sivov
ef8bf642c7
mfmediaengine: Implement GetVideoAspectRatio().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-05 20:46:39 +01:00
Nikolay Sivov
feb4236e31
mfmediaengine: Implement OnVideoStreamTick().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-03 21:48:47 +01:00
Nikolay Sivov
113a4c4fa0
mfmediaengine: Keep "preload" property.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-02 16:01:23 +01:00
Nikolay Sivov
4d56ed9d02
mfmediaengine: Implement error property.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-04 13:50:31 +02:00
Nikolay Sivov
48c3a30650
mfmediaengine: Implement error object.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-03 22:56:48 +02:00
Nikolay Sivov
63d8cfa8f9
mfmediaengine/tests: Add some tests for error property.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-03 22:56:46 +02:00
Nikolay Sivov
e9cc1d58b4
mfmediaengine: Send "volumechange" event on volume change.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-02 11:15:30 +02:00
Nikolay Sivov
daa119581a
mfmediaengine: Send "volumechange" event on muted state change.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-02 11:15:26 +02:00
Nikolay Sivov
6fa8ff6930
mfmediaengine: Send "ratechange" event for both default and playback rate changes.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-02 11:15:22 +02:00
Nikolay Sivov
58f4680380
mfmediaengine: Send "pause" event on Pause().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-29 21:19:12 +02:00
Nikolay Sivov
41af1d1e71
mfmediaengine: Send "play" event on Play().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-29 21:19:10 +02:00
Nikolay Sivov
8805f0429e
mfmediaengine: Keep loop flag.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-28 20:18:32 +02:00
Nikolay Sivov
e5b25e874e
mfmediaengine: Keep auto-play flag.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-28 20:18:32 +02:00
Nikolay Sivov
5007c2bd36
mfmediaengine: Add shut down state.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-05-28 20:18:32 +02:00