summaryrefslogtreecommitdiffstats
path: root/libhb/decsub.c
diff options
context:
space:
mode:
authoreddyg <[email protected]>2007-09-11 06:02:07 +0000
committereddyg <[email protected]>2007-09-11 06:02:07 +0000
commitcf26ca5f77044ec3364edb446635c14b9c9daddc (patch)
tree9d72d3770415ea9fb0cde26a9f3ab52428fd029d /libhb/decsub.c
parent6866dd773f1cff829538c963e8b7ba85fe700be3 (diff)
Added buffer management and changed fifo sizes. Changed job->subtitle_scan to job->indepth_scan, and fixed memory init bug in denoise.c.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@945 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/decsub.c')
-rw-r--r--libhb/decsub.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libhb/decsub.c b/libhb/decsub.c
index eb3b35a34..2b76ecf29 100644
--- a/libhb/decsub.c
+++ b/libhb/decsub.c
@@ -177,7 +177,7 @@ static void ParseControls( hb_work_object_t * w )
/*
* If we are doing a subtitle scan then note down
*/
- if( job->subtitle_scan )
+ if( job->indepth_scan )
{
for( n=0; n < hb_list_count(title->list_subtitle); n++ )
{
@@ -198,8 +198,8 @@ static void ParseControls( hb_work_object_t * w )
break;
case 0x02: // 0x02 - STP_DSP - Stop Display, no arguments
- if(!pv->pts_stop)
- pv->pts_stop = pv->pts + date * 900;
+ if(!pv->pts_stop)
+ pv->pts_stop = pv->pts + date * 900;
break;
case 0x03: // 0x03 - SET_COLOR - Set Colour indices
@@ -463,7 +463,7 @@ static hb_buffer_t * Decode( hb_work_object_t * w )
/* Get infos about the subtitle */
ParseControls( w );
- if( job->subtitle_scan || ( job->subtitle_force && pv->pts_forced == 0 ) )
+ if( job->indepth_scan || ( job->subtitle_force && pv->pts_forced == 0 ) )
{
/*
* Don't encode subtitles when doing a scan.