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/decmpeg2.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/decmpeg2.c')
-rw-r--r-- | libhb/decmpeg2.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libhb/decmpeg2.c b/libhb/decmpeg2.c index 9d28c9775..756eb9768 100644 --- a/libhb/decmpeg2.c +++ b/libhb/decmpeg2.c @@ -658,6 +658,13 @@ static int decmpeg2Work( hb_work_object_t * w, hb_buffer_t ** buf_in, hb_list_add( pv->list, *buf_in ); *buf_in = NULL; status = HB_WORK_DONE; + /* + * Let the Closed Captions know that it is the end of the data. + */ + if( pv->libmpeg2->subtitle ) + { + handle_end_of_data( &pv->libmpeg2->cc608 ); + } } *buf_out = NULL; |