d8646199
by Yuxuan Shui at 2025-10-27T23:19:02+01:00
winegstreamer: Return NS_E_NO_MORE_SAMPLES from WMSyncReader if sample fails to read.
If allocator fails, native returns NS_E_NO_MORE_SAMPLES whereas we propagate the allocator's failure
code. Some games checks this return value and will raise an error/exception if anything other than
NS_E_NO_MORE_SAMPLES is returned, for example any game using the KiriKiri movie player [0] will do
this.
[0]: https://github.com/krkrz/krkrz/blob/fd5c4baa6a2ef5978db1bd043634351f48667daf/movie/win32/CWMReader.cpp#L177