[libbluray-devel] [PATCH 1/2] fix mark->title_pkt calculation

Petri Hintukainen phintuka at users.sourceforge.net
Wed Apr 13 11:56:50 CEST 2016


On su, 2016-04-10 at 12:23 +0300, Petri Hintukainen wrote:
> On pe, 2016-04-08 at 14:10 -0600, John Stebbins wrote:
> > ---
> >  src/libbluray/bdnav/navigation.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/src/libbluray/bdnav/navigation.c
> > b/src/libbluray/bdnav/navigation.c
> > index 60eccbb..a263c16 100644
> > --- a/src/libbluray/bdnav/navigation.c
> > +++ b/src/libbluray/bdnav/navigation.c
> > @@ -476,7 +476,7 @@ _fill_mark(NAV_TITLE *title, NAV_MARK *mark,
> > int
> > entry)
> >      } else {
> >          mark->clip_pkt = clip->start_pkt;
> >      }
> > -    mark->title_pkt = clip->title_pkt + mark->clip_pkt;
> > +    mark->title_pkt = clip->title_pkt + mark->clip_pkt - clip
> > ->start_pkt;
> >      mark->clip_time = plm->time;
> >  
> >      // Calculate start of mark relative to beginning of playlist
> 
> LGTM

Both patches pushed. For some reason commit mails were not triggered
(?).



More information about the libbluray-devel mailing list