Commit 54e28a85 authored by Baptiste Coudurier's avatar Baptiste Coudurier

remove commented code using real_pict_num

Originally committed as revision 18989 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 87e302bf
...@@ -986,7 +986,7 @@ static void do_video_out(AVFormatContext *s, ...@@ -986,7 +986,7 @@ static void do_video_out(AVFormatContext *s,
fprintf(stderr, "Video encoding failed\n"); fprintf(stderr, "Video encoding failed\n");
av_exit(1); av_exit(1);
} }
//enc->frame_number = enc->real_pict_num;
if(ret>0){ if(ret>0){
pkt.data= bit_buffer; pkt.data= bit_buffer;
pkt.size= ret; pkt.size= ret;
...@@ -1001,9 +1001,8 @@ static void do_video_out(AVFormatContext *s, ...@@ -1001,9 +1001,8 @@ static void do_video_out(AVFormatContext *s,
write_frame(s, &pkt, ost->st->codec, bitstream_filters[ost->file_index][pkt.stream_index]); write_frame(s, &pkt, ost->st->codec, bitstream_filters[ost->file_index][pkt.stream_index]);
*frame_size = ret; *frame_size = ret;
video_size += ret; video_size += ret;
//fprintf(stderr,"\nFrame: %3d %3d size: %5d type: %d", //fprintf(stderr,"\nFrame: %3d size: %5d type: %d",
// enc->frame_number-1, enc->real_pict_num, ret, // enc->frame_number-1, ret, enc->pict_type);
// enc->pict_type);
/* if two pass, output log */ /* if two pass, output log */
if (ost->logfile && enc->stats_out) { if (ost->logfile && enc->stats_out) {
fprintf(ost->logfile, "%s", enc->stats_out); fprintf(ost->logfile, "%s", enc->stats_out);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment