Zhiyi Zhang
6b853a9354
mf/tests: Test IMFMediaSession::Start().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2024-02-06 22:56:50 +01:00
Zhiyi Zhang
c1223d0be0
mf/tests: Add a create_test_topology() helper.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2024-02-06 22:56:50 +01:00
Rémi Bernon
6aca31f1a1
winegstreamer: Implement H264 decoder GetInputCurrentType.
2024-01-30 11:06:00 +01:00
Rémi Bernon
2d88c57716
mf/topology_loader: Try to connect transform nodes with their current types first.
...
And only if that fails try again by enumerating types.
2024-01-30 11:05:58 +01:00
Rémi Bernon
d95d113230
mf/topology_loader: Initialize transform output type before adding converter.
...
Otherwise the next topology_branch_connect call will fail when it will
try to lookup the upstream element media type.
2024-01-30 11:05:57 +01:00
Rémi Bernon
2a185126ca
mf/topology_loader: Ignore SetOutputType errors when doing indirect connect.
...
It only succeeds with converters, or if a decoder can directly output
the downstream media type.
If it fails we may have to add a converter after the decoder, and we
will call topology_branch_connect on the downstream branch for that.
2024-01-30 11:05:56 +01:00
Rémi Bernon
56b1f80210
mf/tests: Check inserted topology loader transforms explicitly.
2024-01-30 11:05:54 +01:00
Nikolay Sivov
21bbd34d35
mf/tests: Fully cleanup when skipping tests.
2024-01-19 18:01:34 +01:00
Nikolay Sivov
8e82b56a7e
mf/tests: Skip tests if video renderer can't be created.
2024-01-17 10:56:47 +01:00
Nikolay Sivov
7e30b44367
mf/tests: Skip tests if D3D9 is unusable.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2024-01-08 20:52:27 +01:00
Nikolay Sivov
882d822900
mf/samplegrabber: Check shutdown state when setting the clock.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-10-31 18:52:08 +01:00
Nikolay Sivov
c45ae2c680
mf/samplegrabber: Release current media type on shutdown.
2023-10-31 18:52:08 +01:00
Rémi Bernon
d0400e5637
mf/tests: Avoid crashing if MF_BYTESTREAM_EFFECTIVE_URL is missing.
...
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=55588
2023-10-27 10:19:40 -05:00
Ziqing Hui
b3edb269ec
winegstreamer: Add MFMPEG4SinkClassFactory.
2023-09-05 15:20:38 +02:00
Ziqing Hui
f98f36123a
mf/tests: Use h264 and aac in mp4 media sink tests.
2023-09-05 15:20:38 +02:00
Rémi Bernon
8143a57500
mf/scheme_handler: Implement http(s):// scheme handler using urlmon.
2023-08-23 17:38:51 +02:00
Rémi Bernon
fd3d0113f9
mf/tests: Add some network scheme resolver tests.
2023-08-23 17:38:51 +02:00
Nikolay Sivov
42811d775b
mf: Implement MFCreateSequencerSegmentOffset().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-08-17 23:26:13 +02:00
Rémi Bernon
f185161235
mf/tests: Add missing line end in test message.
2023-07-24 14:01:40 +02:00
Rémi Bernon
495cf276d0
mf/tests: Shutdown MF if MP4 source isn't supported.
2023-07-24 14:01:40 +02:00
Bernhard Kölbl
07d0f1f0c0
mf/tests: Remove duplicate call to MFStartup().
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-06-07 22:48:27 +02:00
Ziqing Hui
678a815640
mf/tests: Add tests for MPEG4 media sink.
2023-05-25 22:06:00 +02:00
Bernhard Kölbl
7056f421a0
mf: Don't try to clone non existent topo connections.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-05-18 05:29:57 -05:00
Santino Mazza
dd6b2f9ab5
mf/session: Handle error when a source fails to start.
2023-04-11 16:16:51 +02:00
Santino Mazza
74b64eab20
mf/session: Handle errors when subscribing to source's events.
2023-04-11 16:16:50 +02:00
Santino Mazza
2580799e70
mf/tests: Test media session error handling.
...
Test error handling for mfsession_Start when a source fails
at different stages.
2023-04-11 16:16:48 +02:00
Paul Gofman
31d11d80f6
mf/tests: Test h264 decoder with dxgi device manager.
2023-04-10 14:18:00 +02:00
Paul Gofman
dd13bbb57b
mf: Handle timer time behind clock time in present_clock_schedule_timer().
2022-11-08 20:07:52 +01:00
Bernhard Kölbl
ae3c9e3272
mf: Set media types for output nodes in the media session.
...
Instead of the topology loader.
2022-11-08 20:07:51 +01:00
Bernhard Kölbl
b843ec9f68
mf/tests: Test for copier node in topology using evr.
2022-11-08 20:07:51 +01:00
Rémi Bernon
49d87a5c92
mf: Add some topology source node checks in IMFMediaSession_SetTopology.
2022-11-08 20:07:51 +01:00
Rémi Bernon
616ae1e38d
mf: Always enumerate branch source types for transform nodes.
2022-11-08 20:07:51 +01:00
Rémi Bernon
1af56869c2
mf/tests: Check sample grabber RGB / NV12 orientation.
2022-10-14 18:03:37 +02:00
Rémi Bernon
7b08bf9729
mf/tests: Factor test grabber callback implementations.
2022-10-14 18:03:37 +02:00
Rémi Bernon
a66690d2de
mf/tests: Factor IMFTransform required attributes checks together.
2022-09-13 22:07:22 +02:00
Rémi Bernon
db56d2f2a3
mf/tests: Split IMFTransform tests to transform.c.
2022-09-13 22:07:22 +02:00
Rémi Bernon
de48020325
mf/tests: Test that IMFMediaSession_SetTopology sets output nodes media types.
2022-09-05 13:38:36 +02:00
Rémi Bernon
af62da3160
mf/tests: Test that IMFTopoLoader_Load sets transform nodes media types.
2022-09-05 13:38:36 +02:00
Rémi Bernon
065a343207
mf/tests: Test that IMFTopoLoader_Load doesn't set output nodes media types.
2022-09-05 13:38:36 +02:00
Rémi Bernon
a4538ef5c2
mf/tests: Test some IMFMediaSession_SetTopology error cases.
2022-09-05 13:38:36 +02:00
Rémi Bernon
414e23c459
mf/tests: Add helpers to wait and check media session events.
2022-09-05 13:38:36 +02:00
Rémi Bernon
96163508b1
mf/tests: Allocate test callbacks dynamically and check refcounts.
2022-09-05 13:38:36 +02:00
Rémi Bernon
c9b6972231
mf/tests: Keep a presentation descriptor in the test source.
2022-09-05 13:38:36 +02:00
Rémi Bernon
fc78c63c64
mf/tests: Move and split some helper code around.
2022-09-05 13:38:36 +02:00
Rémi Bernon
2be95875c0
mf: Support uninitialized downstream media types in topology loader.
2022-08-23 16:18:51 -05:00
Rémi Bernon
e1768353e8
mf/tests: Try returning MF_E_NOT_INITIALIZED from GetCurrentMediaType.
2022-08-23 16:18:51 -05:00
Rémi Bernon
fe31dafd63
mf/tests: Avoid creating now unused sink activate instances.
2022-08-23 16:18:51 -05:00
Rémi Bernon
935e3d12de
mf: Only enumerate types for decoders / converter if down type is missing.
2022-08-16 22:27:53 +02:00
Rémi Bernon
346c2d8d7c
mf: Allow resolving topology with missing downstream current type.
...
And without enumerating the downstream types either.
2022-08-16 22:27:53 +02:00
Rémi Bernon
245ac9b46e
mf/tests: Add more topology loader converter and enumeration tests.
2022-08-16 22:27:52 +02:00