Commit graph

665 commits

Author SHA1 Message Date
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
Alistair Leslie-Hughes 31f9a85112 mf: Remove DECLSPEC_HIDDEN usage. 2023-07-12 10:54:56 +02:00
Ziqing Hui 8e3f316cc9 winegstreamer: Implement Flush for WMV decoder DMO. 2023-06-15 10:03:41 +02:00
Bernhard Kölbl f19a0fb6c2 mf: Don't leak sink in session_get_renderer_node_service().
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-06-15 10:03:08 +02:00
Bernhard Kölbl bea37208fe mf: Clear queued topologies on session shutdown.
Programs might expect objects inside the queued toplogy to be freed,
before they eventually call release on the session itself.

This fixes reference leaks to stored objects in queued topology nodes,
even when IMFMediaSession_Shutdown() was called.

Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2023-06-15 10:03:06 +02:00
Ziqing Hui 8310d9cbde mf/tests: Split size info tests from test_wmv_decoder_media_object. 2023-06-09 10:34:25 +02:00
Ziqing Hui 0f71442e9c mf/tests: Split output type tests from test_wmv_decoder_media_object. 2023-06-09 10:34:25 +02:00
Ziqing Hui b2481f6522 mf/tests: Split input type tests from test_wmv_decoder_media_object. 2023-06-09 10:34:24 +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 7acaf2511d mf/tests: Test output type for WMA decoder DMO. 2023-06-05 21:48:00 +02:00
Ziqing Hui e0ea1a4f66 mf/tests: Test input type for WMA decoder DMO. 2023-06-05 21:48:00 +02:00
Paul Gofman 4f4ee0e16b winegstreamer: Implement MFT_MESSAGE_COMMAND_FLUSH for the H264 decoder. 2023-06-02 20:47:29 +02:00
Paul Gofman 16347299c1 winegstreamer: Implement MFT_MESSAGE_COMMAND_DRAIN for the H264 decoder. 2023-06-02 20:47:29 +02:00
Paul Gofman 596dfad38b winegstreamer: Don't pre-check sample size in wg_transform_read_mf(). 2023-05-31 22:50:10 +02:00
Rémi Bernon 4d1a331c66 winegstreamer: Use the output wg_format in CAPS sink query.
Instead of constraining the output caps to the current resolution, which
breaks when streams with different resolutions are concatenated.
2023-05-31 22:50:10 +02:00
Rémi Bernon 52387aa1a4 winegstreamer: Generate H264 timestamps using the input type frame rate.
And remove h264parse element requirement.
2023-05-31 22:50:10 +02:00
Rémi Bernon 6184ac8c9f mf/tests: Add H264 decoder tests with concatenated streams. 2023-05-31 22:50:10 +02:00
Ziqing Hui 678a815640 mf/tests: Add tests for MPEG4 media sink. 2023-05-25 22:06:00 +02:00
Ziqing Hui 51c5f44bd7 winegstreamer: Implement Discontinuity for WMV decoder DMO. 2023-05-23 22:19:30 +02:00
Ziqing Hui 2a83ef077f winegstreamer: Implement GetInputStatus for WMV decoder DMO. 2023-05-23 22:19:30 +02:00
Ziqing Hui b7e4b5247b mf/tests: Test Flush for WMV decoder DMO. 2023-05-23 22:19:30 +02:00
Ziqing Hui 4f22db5b9f mf/tests: Test Discontinuity for WMV decoder DMO.
The tests show that input status is not affected by it.
2023-05-23 22:19:30 +02:00
Ziqing Hui ebd3bbc6c8 mf/tests: Test GetInputStatus for WMV decoder DMO. 2023-05-23 22:19:30 +02:00
Rémi Bernon 5a74f001ac mf/tests: Add some IV50 encoder / decoder tests. 2023-05-23 14:43:12 +02:00
Rémi Bernon 8d699e5a14 mf/tests: Add more video processor tests with RGB555 format. 2023-05-23 14:43:12 +02:00
Rémi Bernon db1e98a639 mf/tests: Move broken video processor aperture to a separate test. 2023-05-23 14:43:12 +02:00
Rémi Bernon d4cf74dabf mf/tests: Rename some variables in video processor transform tests. 2023-05-23 14:43:12 +02:00
Rémi Bernon cb3a2637e4 mf/tests: Simplify video processor expected input types checks.
And fix W11 results.
2023-05-23 14:43:12 +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
Francois Gouget decc90187e mf/tests: Fix the spelling of a win_skip() message. 2023-05-16 08:16:33 -05:00
Rémi Bernon f85c5f1c3a mf/tests: Avoid leaking media types in test_video_processor (Valgrind). 2023-05-16 08:04:59 -05:00
Rémi Bernon ac393df4b5 mf/tests: Release PROPVARIANT memory in check_attributes (Valgrind). 2023-05-16 08:04:59 -05:00
Santino Mazza a65d0e1fe7 mf/session: Reset presentation flags when session_clear_presentation is called.
This prevents hangs when a program sets a new topology after stopping the current
topology, because if we don't reset the flags to 0 the session will not subscribe
to the events of the new topology sources.
2023-05-03 16:48:41 +02:00
Eric Pouech 9718a0b6d3 winegstreamer: In video_processor, activate a videoflip converter.
The app I'm considering opens a video_processor on its own, with
a NV12 format on input and a ARGB32 format on output.

Tested on Windows: the samples are flipped vertically. While Wine
keeps them untouched.

So added a videoflip in the video processor to be activated when needed.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-04-18 10:18:17 +02:00
Eric Pouech 77a21bfbe3 mf/tests: Add tests about (negative) stride handling.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-04-18 10:18:17 +02: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 a208589b27 winegstreamer: Provide samples if DXGI device manager is set in h264 decoder. 2023-04-10 14:18:00 +02:00
Paul Gofman 3f2ff939a1 winegstreamer: Process MFT_MESSAGE_SET_D3D_MANAGER in h264 decoder. 2023-04-10 14:18:00 +02:00
Paul Gofman 31d11d80f6 mf/tests: Test h264 decoder with dxgi device manager. 2023-04-10 14:18:00 +02:00
Paul Gofman 9ab3804903 mf/tests: Increase h264data.bin video length. 2023-04-10 14:18:00 +02:00
Ziqing Hui c91ab8c99a winegstreamer: Implement ProcessInput and ProcessOutput for WMV decoder DMO. 2023-03-24 16:55:55 +01:00
Ziqing Hui e23f9e4dfd winegstreamer: Create wg_transform for WMV decoder. 2023-03-24 16:55:55 +01:00
Ziqing Hui 7bc693eef5 mf/tests: Test time length returned by ProcessOutput.
Time length returned by ProcessOutput is equal to
the one passed to ProcessInput.
2023-03-24 16:55:52 +01:00
Ziqing Hui 13a65b849e mf/tests: Test output data for WMV decoder DMO. 2023-02-22 18:06:42 +01:00
Ziqing Hui 9d1b927924 mf/tests: Test ProcessInput and ProcessOutput for WMV decoder DMO. 2023-02-22 18:06:42 +01:00
Ziqing Hui 41288d0d70 mf/tests: Correctly initialize DMO media type. 2023-02-22 18:06:42 +01:00
Ziqing Hui a5b5cef355 mf/tests: Add missing \n. 2023-02-22 18:06:42 +01:00