]> git.sesse.net Git - nageru/commitdiff
Remove some TODO.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 3 Oct 2015 10:29:43 +0000 (12:29 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 3 Oct 2015 10:29:43 +0000 (12:29 +0200)
h264encode.cpp

index 33057a890359e4abd98e3bd2341b527f6be55cb8..fe51b9e8d06a50ae4739c676d039a497fa058a12 100644 (file)
@@ -1740,10 +1740,9 @@ H264Encoder::H264Encoder(QSurface *surface, int width, int height, const char *o
                fprintf(stderr, "%s: avformat_new_stream() failed\n", output_filename);
                exit(1);
        }
-       avstream->time_base = AVRational{1, frame_rate};  // TODO
+       avstream->time_base = AVRational{1, frame_rate};
        avstream->codec->width = width;
        avstream->codec->height = height;
-       //avstream->codec->time_base = AVRational{1, 60};  // TODO
        avstream->codec->time_base = AVRational{1, frame_rate};
        avstream->codec->ticks_per_frame = 1;  // or 2?