Re: [PATCH v2 0/4] MR7057: Draft: amstream: Stop stream while running CreateSample. Feedback needed. :-)
Dec. 21, 2024
2:41 a.m.
Anton Baskanov (@baskanov) commented about dlls/amstream/ddrawstream.c:
if (!surface && rect) return E_INVALIDARG;
+ IMultiMediaStream_GetState(stream->parent, ¤t_state); + IMultiMediaStream_SetState(stream->parent, STREAMSTATE_STOP);
The correct way to fix this is to implement a custom allocator like it is done in the native AMDirectDrawStream. This will allow changing the format on the fly without stopping the stream. But it of course requires much more work, including adding format change support to decoders. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7057#note_91029
460
Age (days ago)
460
Last active (days ago)
0 comments
1 participants
participants (1)
-
Anton Baskanov (@baskanov)