summaryrefslogtreecommitdiffstats
path: root/libhb/bd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/bd.c')
-rw-r--r--libhb/bd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libhb/bd.c b/libhb/bd.c
index 47dfe7df8..6ef53361e 100644
--- a/libhb/bd.c
+++ b/libhb/bd.c
@@ -471,6 +471,7 @@ int hb_bd_read( hb_bd_t * d, hb_buffer_t * b )
BD_EVENT event;
uint64_t pos;
+ b->discontinuity = 0;
while ( 1 )
{
if ( d->next_chap != d->chapter )
@@ -507,6 +508,10 @@ int hb_bd_read( hb_bd_t * d, hb_buffer_t * b )
d->next_chap = event.param;
break;
+ case BD_EVENT_PLAYITEM:
+ b->discontinuity = 1;
+ break;
+
default:
break;
}