diff options
author | eddyg <[email protected]> | 2009-05-06 02:25:58 +0000 |
---|---|---|
committer | eddyg <[email protected]> | 2009-05-06 02:25:58 +0000 |
commit | 6add7d899f49abbe2b6cc0702296941e948f5ef5 (patch) | |
tree | 386ec27521bf5b11a54065869dd8b0ea3220ad76 /libhb/reader.c | |
parent | 046f366e1f748130ae00c8a214b100492a50a394 (diff) |
Push an EOF onto the subtitle fifos from the reader for DVD VOBSUBs and also from cc608 for closed captions
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2388 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/reader.c')
-rw-r--r-- | libhb/reader.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libhb/reader.c b/libhb/reader.c index e0345378f..f7470bfa2 100644 --- a/libhb/reader.c +++ b/libhb/reader.c @@ -457,6 +457,13 @@ static void ReaderFunc( void * _r ) push_buf( r, audio->priv.fifo_in, hb_buffer_init(0) ); } + hb_subtitle_t *subtitle; + for( n = 0; ( subtitle = hb_list_item( r->job->title->list_subtitle, n ) ); ++n ) + { + if ( subtitle->fifo_in ) + push_buf( r, subtitle->fifo_in, hb_buffer_init(0) ); + } + hb_list_empty( &list ); hb_buffer_close( &ps ); if (r->dvd) |