On Thu Nov 20 08:40:37 2025 +0000, Yuxuan Shui wrote:
Context: I was trying to make use of DMOs in `WMSyncReader`. I want to know if there is data available from a DMO decoder. Maybe there's a better way, but intuitively I call `ProcessOutput` and check if it returns `S_FALSE`. Our DMOs return `MF_E_TRANSFORM_NEED_MORE_INPUT` which is not a documented return value for DMOs.
Notes on the test case (on native):
- I also tried adding a test case calling `ProcessOutput` before any `ProcessInput` calls, and I got `E_POINTER`. Don't know what's going on there. - If I call `ProcessInput` before setting an output type, subsequent `ProcessOutput` might crash. Either c0000005, or c0000374 (heap corruption). Must messed up some internal states.