[DVDnav-discuss] Fwd: [PATCH] Make sure we get nav packets for all cells in multi angle

Roger Pack rogerdpack2 at gmail.com
Thu Nov 3 01:40:55 CET 2011


> It's quite simple actually and removes all discontinuties during playback:
>
> In input stream for libdvdnav:
>  if(nav[n].start != nav[n-1].end) {
>     diff = nav[n-1].end - nav[n].start;
>     * return 0 bytes read to demuxer to EOF it and it flushes all mpeg packets.
>  }
>
> After demuxer EOF
>  global_diff += diff;
>  diff = 0;

Cool thanks.
So it appears that it basically tracks the time via the timestamps in
the NAV packets, i.e. its EDL's should be synchronized with the NAV
packets to be accurate?
-r


More information about the DVDnav-discuss mailing list