summaryrefslogtreecommitdiffstats
path: root/libhb/decavcodec.c
diff options
context:
space:
mode:
authorJohn Stebbins <[email protected]>2016-05-17 11:51:25 -0600
committerJohn Stebbins <[email protected]>2016-05-17 11:51:25 -0600
commitde858d1600ac61258dc895b2fc8756b7c5d1d3a8 (patch)
treecdbd82e3d9ee83cfb9a31ebbb034852aa36fb2cb /libhb/decavcodec.c
parent9dcce9df07f4db1fa61f25ffeb106aa00bd64190 (diff)
libhb: send initial chapter through pipeline
Eliminate the need for everyone to assume that the first chapter starts at the first frame.
Diffstat (limited to 'libhb/decavcodec.c')
-rw-r--r--libhb/decavcodec.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libhb/decavcodec.c b/libhb/decavcodec.c
index bc6637143..f20afb2e9 100644
--- a/libhb/decavcodec.c
+++ b/libhb/decavcodec.c
@@ -1345,10 +1345,6 @@ static int decodeFrame( hb_work_object_t *w, uint8_t *data, int size, int sequen
pv->new_chap = 0;
pv->chap_time = 0;
}
- else if ( pv->nframes == 0 && pv->job )
- {
- log_chapter( pv, pv->job->chapter_start, buf->s.start );
- }
checkCadence( pv->cadence, flags, buf->s.start );
hb_buffer_list_append(&pv->list, buf);
++pv->nframes;
@@ -1389,10 +1385,6 @@ static int decodeFrame( hb_work_object_t *w, uint8_t *data, int size, int sequen
pv->new_chap = 0;
pv->chap_time = 0;
}
- else if ( pv->nframes == 0 && pv->job )
- {
- log_chapter( pv, pv->job->chapter_start, buf->s.start );
- }
checkCadence( pv->cadence, buf->s.flags, buf->s.start );
hb_buffer_list_append(&pv->list, buf);
}