summaryrefslogtreecommitdiffstats
path: root/libhb/reader.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/reader.c')
-rw-r--r--libhb/reader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libhb/reader.c b/libhb/reader.c
index 823dfbe84..a57c79641 100644
--- a/libhb/reader.c
+++ b/libhb/reader.c
@@ -269,6 +269,9 @@ static void ReaderFunc( void * _r )
}
}
+ /* send an empty buffer upstream to signal we're done */
+ hb_fifo_push( r->job->fifo_mpeg2, hb_buffer_init(0) );
+
hb_list_empty( &list );
hb_buffer_close( &r->ps );
if (r->dvd)