Re: [PATCH v3 0/5] MR3572: mf: Make session_get_node_object() more robust.
23 Aug
2023
23 Aug
'23
2:57 a.m.
On Wed Aug 23 02:47:48 2023 +0000, Zhiyi Zhang wrote:
Even with a custom source with MFMEDIASOURCE_CAN_PAUSE reported. Still, no MESessionStopped events are sent. I also tested with the media source created from IMFSourceResolver::CreateObjectFromByteStream() with test.mp4 and got the same result. So it seems to be that is merely how IMFMediaSession calls IMFMediaSource. Stops the source first and then start it. But with a single IMFMediaSource::Start() achieving the same result. Do we really need to stop the sources first when performing a seek? Stopping sources first does eliminate the need to add an OBJ_STATE_SEEKING state though. I decided to do it.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/3572#note_43132
850
Age (days ago)
850
Last active (days ago)
0 comments
1 participants
participants (1)
-
Zhiyi Zhang (@zhiyi)