]> granicus.if.org Git - handbrake/commitdiff
Change minimum vobsub time from 3sec to 2sec, been meaning to do this for a while.
authoreddyg <eddyg.hb@myreflection.org>
Tue, 19 May 2009 22:41:17 +0000 (22:41 +0000)
committereddyg <eddyg.hb@myreflection.org>
Tue, 19 May 2009 22:41:17 +0000 (22:41 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2430 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/sync.c

index d76907987cf49fb87fcab6f2e138f9cc75d6c43b..cfc546e1abe8905d814768d3895c7732b9ec0585 100644 (file)
@@ -530,7 +530,7 @@ static void SyncVideo( hb_work_object_t * w )
                                 *
                                 * fall through to display
                                 */
-                                if( ( sub->stop - sub->start ) < ( 3 * 90000 ) )
+                                if( ( sub->stop - sub->start ) < ( 2 * 90000 ) )
                                 {
                                     /*
                                      * Subtitle is on for less than three 
@@ -543,7 +543,7 @@ static void SyncVideo( hb_work_object_t * w )
                                      * only displays subs for 1 second - 
                                      * too fast to read.
                                      */
-                                    sub->stop = sub->start + ( 3 * 90000 );
+                                    sub->stop = sub->start + ( 2 * 90000 );
                                 
                                     sub2 = hb_fifo_see2( subtitle->fifo_raw );