OSDN Git Service
(root)
/
handbrake-jp
/
handbrake-jp-git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
WinGui:
[handbrake-jp/handbrake-jp-git.git]
/
libhb
/
demuxmpeg.c
diff --git
a/libhb/demuxmpeg.c
b/libhb/demuxmpeg.c
index
a0c0102
..
4185cb5
100644
(file)
--- a/
libhb/demuxmpeg.c
+++ b/
libhb/demuxmpeg.c
@@
-263,6
+263,10
@@
int hb_demux_ts( hb_buffer_t *buf_ps, hb_list_t *list_es, hb_psdemux_t *state )
hb_buffer_t *buf = hb_buffer_init( buf_ps->alloc );
hb_buffer_swap_copy( buf_ps, buf );
+ if (buf->type == VIDEO_BUF) {
+ // Consume a chapter break
+ buf_ps->new_chap = 0;
+ }
hb_list_add( list_es, buf );
return 1;