mpc-hc icon indicating copy to clipboard operation
mpc-hc copied to clipboard

Video preview shows a wrong frame for ordered chapters in multiple Editions

Open hubblec4 opened this issue 2 years ago • 1 comments

Hi clsid

Wrong Video Preview.zip

Steps to reproduce the issue:

  1. Start the mkv
  2. Change the edition from Edition 1 to Edition 2 (I use the menu from the LAV TrayIcon)
  3. [*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.

hubblec4 avatar Nov 05 '22 18:11 hubblec4

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.

clsid2 avatar Nov 05 '22 22:11 clsid2