OSDN Git Service

Somehow this went missing as I prepared these subtitle changes for commit in 1011...
authoreddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 11 Oct 2007 23:55:36 +0000 (23:55 +0000)
committereddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 11 Oct 2007 23:55:36 +0000 (23:55 +0000)
git-svn-id: svn://localhost/HandBrake/trunk@1021 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/sync.c

index bb94079..c73ea8c 100644 (file)
@@ -335,6 +335,8 @@ static int SyncVideo( hb_work_object_t * w )
                         hb_log("Trashing subtitle 0x%x due to PTS discontinuity", sub);
                         sub = hb_fifo_get( pv->subtitle->fifo_raw );
                         hb_buffer_close( &sub );
+                    } else {
+                        break;
                     }
                 }
             }