mpc-hc
mpc-hc copied to clipboard
Video preview shows a wrong frame for ordered chapters in multiple Editions
Hi clsid
Steps to reproduce the issue:
- Start the mkv
- Change the edition from Edition 1 to Edition 2 (I use the menu from the LAV TrayIcon)
- [*1] Move the mouse over the timeline and make a left click to jump to this timestamp
[*1] You can pause playback for a better control to see which preview frame is used and what a frame is shown after the jump to this timestamp.
When you change the edition back to Edition 1 the video preview is fine again.
It is also possible to change the default edition. -> set the Edition 2 as default edition and this edition uses the correct preview frames. But after a change to Edition 1 the video preview don't work.
Preview uses a separate graph (with default edition) and isn't aware of any edition changes in the primary graph.
Note to self. To fix this: LAV Splitter uses group value 18 for IAMStreamSelect. Use this info to change selected edition in preview graph if needed. Do this when EC_LENGTH_CHANGED event occurs.