Commit Graph

120 Commits

Author SHA1 Message Date
Eric Pouech ce152acdf5 wmvcore/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-10 09:30:38 +01:00
Eric Pouech dcc72808f0 wmvcore: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-22 18:20:23 +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
Zebediah Figura 03d92af78a winegstreamer: Always set the initial video type for the WMF reader to WG_VIDEO_FORMAT_BGR.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52273
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-30 23:09:45 +01:00
Zebediah Figura 78f916f598 winegstreamer: Return E_UNEXPECTED when calling IWMReader::Stop() if no stream is open.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52038
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-15 18:57:16 +01:00
Zebediah Figura 747905c674 winegstreamer: Call IWMReaderCallbackAdvanced::OnTime() when using a user clock.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-12 08:46:26 +01:00
Zebediah Figura f3624e2d64 winegstreamer: Implement IWMMediaProps::GetMediaType() for the stream config object.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-12 08:46:24 +01:00
Zebediah Figura 769057b9b2 winegstreamer: Add IWMMediaProps to the stream config object.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-12 08:46:22 +01:00
Zebediah Figura 639c04a5b4 winegstreamer: Implement IWMReaderAdvanced::GetMaxStreamSampleSize().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-12 08:46:19 +01:00
Zebediah Figura 54f825d237 winegstreamer: Implement IWMSyncReader::SetReadStreamSamples().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-11 09:52:27 +01:00
Zebediah Figura cad38401bf winegstreamer: Implement IWMReaderAdvanced::SetAllocateForStream().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-11 09:52:25 +01:00
Zebediah Figura 894e071245 winegstreamer: Implement IWMReaderAdvanced::SetReceiveStreamSamples().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-11 09:52:23 +01:00
Zebediah Figura 42da77bbcf wmvcore/tests: Add tests for user-allocated samples.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-11 09:52:20 +01:00
Zebediah Figura f4b3eb7efb wmvcore/tests: Add tests for stream selection.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-10 18:58:50 +01:00
Zebediah Figura 3864d23554 winegstreamer: Implement IWMOutputMediaProps::GetType().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-09 11:16:30 +01:00
Zebediah Figura fca2f6c12b winegstreamer: Implement IWMReader::Open().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-09 11:16:28 +01:00
Zebediah Figura 63fb4d8270 winegstreamer: Implement INSSBuffer::SetLength().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-09 11:16:24 +01:00
Zebediah Figura 25adac6ede winegstreamer: Implement INSSBuffer::GetMaxLength().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-09 11:16:21 +01:00
Zebediah Figura dc1a1ae450 winegstreamer: Implement INSSBuffer::GetBuffer().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-09 11:16:18 +01:00
Zebediah Figura 682093d0bd winegstreamer: Implement IWMReaderAdvanced::SetUserProvidedClock().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-05 10:23:33 +01:00
Zebediah Figura 21dc092b91 winegstreamer: Implement IWMReader::Start().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-05 10:23:31 +01:00
Zebediah Figura d7175e2655 winegstreamer: Implement IWMReader::SetOutputProps().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-05 10:23:29 +01:00
Zebediah Figura 5306d0ff3c winegstreamer: Implement IWMReader::GetOutputFormatCount().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-05 10:23:27 +01:00
Zebediah Figura 00bc5eb73b winegstreamer: Implement IWMReader::GetOutputFormat().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-05 10:23:25 +01:00
Zebediah Figura a855591fd2 winegstreamer: Implement IWMReader::GetOutputProps().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-03 10:30:45 +01:00
Zebediah Figura 34d85311f3 winegstreamer: Implement IWMReader::GetOutputCount().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-03 10:30:42 +01:00
Zebediah Figura 42c82012c7 winegstreamer: Implement IWMReaderAdvanced2::OpenStream().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-03 10:30:39 +01:00
Zebediah Figura 4398e8aba2 wmvcore/tests: Add tests for asynchronous reader media types.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-03 10:30:35 +01:00
Zebediah Figura c9f5903e5a wmvcore/tests: Add tests for asynchronous reader streaming.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-03 10:30:26 +01:00
Zebediah Figura 56dde41b6d winegstreamer: Implement IWMSyncReader::Open().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Zebediah Figura c3811e8461 winegstreamer: Implement IWMHeaderInfo::GetAttributeByName(L"Seekable").
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Zebediah Figura 799c7704e8 winegstreamer: Implement IWMHeaderInfo::GetAttributeByName(L"Duration").
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Zebediah Figura f7b45d419f winegstreamer: Don't set bTemporalCompression for WMF video formats.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Zebediah Figura 6cb1d1ec4f winegstreamer: Set bFixedSizeSamples for WMF video formats.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Zebediah Figura 7c02cd8cf8 winegstreamer: Set rcSource and rcTarget for WMF video formats.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-02 17:09:39 +01:00
Zebediah Figura 74c2e9020f winegstreamer: Implement IWMSyncReader::SetRange().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-01 11:37:21 +01:00
Zebediah Figura 04d94e3c09 winegstreamer: Implement reading from all streams in IWMSyncReader::GetNextSample().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-01 11:37:19 +01:00
Zebediah Figura 538b86bfc6 winegstreamer: Implement INSSBuffer::GetBufferAndLength().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-01 11:37:16 +01:00
Zebediah Figura 3b8579d8a5 winegstreamer: Implement IWMSyncReader::GetNextSample().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-01 11:37:14 +01:00
Zebediah Figura 970c1bc49b winegstreamer: Implement IWMSyncReader::SetOutputProps().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-11-01 11:37:12 +01:00
Zebediah Figura bc52edc19d winegstreamer: Implement IWMSyncReader::GetOutputFormatCount().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:27:49 +02:00
Zebediah Figura b3655b5be5 winegstreamer: Implement IWMSyncReader::GetOutputFormat().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:27:46 +02:00
Zebediah Figura 95ffc87988 winegstreamer: Implement IWMOutputMediaProps::GetMediaType().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:27:42 +02:00
Zebediah Figura 0dc309ef6a winegstreamer: Implement IWMSyncReader::GetOutputProps().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:27:36 +02:00
Zebediah Figura 2594822212 winegstreamer: Implement IWMStreamConfig::GetStreamType().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-28 19:27:31 +02:00
Zebediah Figura d5154e7eea winegstreamer: Implement IWMSyncReader::GetStreamNumberForOutput().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 17:23:42 +02:00
Zebediah Figura d39747f450 winegstreamer: Implement IWMSyncReader::GetOutputNumberForStream().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 17:23:42 +02:00
Zebediah Figura 250f86b023 winegstreamer: Implement IWMStreamConfig::GetStreamNumber().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 17:23:42 +02:00
Zebediah Figura 40ced5e054 winegstreamer: Implement IWMProfile::GetStream().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 17:23:42 +02:00
Zebediah Figura 8bd3c8bf5a winegstreamer: Implement IWMSyncReader::GetOutputCount().
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-27 17:23:42 +02:00