diff options
Diffstat (limited to 'libhb/dvdnav.c')
-rw-r--r-- | libhb/dvdnav.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/libhb/dvdnav.c b/libhb/dvdnav.c index e2a472cb5..6075a8ee6 100644 --- a/libhb/dvdnav.c +++ b/libhb/dvdnav.c @@ -1646,11 +1646,7 @@ static hb_buffer_t * hb_dvdnav_read( hb_dvd_t * e ) case DVDNAV_BLOCK_OK: // We have received a regular block of the currently playing // MPEG stream. - - // The muxers expect to only get chapter 2 and above - // They write chapter 1 when chapter 2 is detected. - if (chapter > 1) - b->s.new_chap = chapter; + b->s.new_chap = chapter; chapter = 0; error_count = 0; return b; @@ -1791,12 +1787,7 @@ static hb_buffer_t * hb_dvdnav_read( hb_dvd_t * e ) // mpegdemux expects to get these. I don't think it does // anything useful with them however. - - // The muxers expect to only get chapter 2 and above - // They write chapter 1 when chapter 2 is detected. - if (chapter > 1) - b->s.new_chap = chapter; - chapter = 0; + b->s.new_chap = chapter; return b; break; |