Re: [PATCH v2 0/4] MR7057: Draft: amstream: Stop stream while running CreateSample. Feedback needed. :-)
21 Dec
2024
21 Dec
'24
8: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
362
Age (days ago)
362
Last active (days ago)
0 comments
1 participants
participants (1)
-
Anton Baskanov (@baskanov)