]> git.sesse.net Git - x264/commitdiff
Fix 10L
authorKieran Kunhya <kieran@kunhya.com>
Tue, 8 Mar 2011 14:57:03 +0000 (14:57 +0000)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 23 Apr 2016 10:05:45 +0000 (12:05 +0200)
encoder/speed.c

index 09917a305a538cfdbd46914917fc60038ca3b393..cd73fb90091a6a8bbffd29cc8263942f4a70913d 100644 (file)
@@ -163,7 +163,7 @@ void x264_speedcontrol_frame( x264_t *h )
     // update buffer state after encoding and outputting the previous frame(s)
     if( sc->first )
     {
-        t = sc->timestamp;
+        t = sc->timestamp = x264_mdate();
         sc->first = 0;
     }
     else