[FFmpeg-cvslog] r18989 - trunk/ffmpeg.c
bcoudurier
subversion
Sat May 30 04:48:47 CEST 2009
Author: bcoudurier
Date: Sat May 30 04:48:47 2009
New Revision: 18989
Log:
remove commented code using real_pict_num
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c Sat May 30 02:24:20 2009 (r18988)
+++ trunk/ffmpeg.c Sat May 30 04:48:47 2009 (r18989)
@@ -986,7 +986,7 @@ static void do_video_out(AVFormatContext
fprintf(stderr, "Video encoding failed\n");
av_exit(1);
}
- //enc->frame_number = enc->real_pict_num;
+
if(ret>0){
pkt.data= bit_buffer;
pkt.size= ret;
@@ -1001,9 +1001,8 @@ static void do_video_out(AVFormatContext
write_frame(s, &pkt, ost->st->codec, bitstream_filters[ost->file_index][pkt.stream_index]);
*frame_size = ret;
video_size += ret;
- //fprintf(stderr,"\nFrame: %3d %3d size: %5d type: %d",
- // enc->frame_number-1, enc->real_pict_num, ret,
- // enc->pict_type);
+ //fprintf(stderr,"\nFrame: %3d size: %5d type: %d",
+ // enc->frame_number-1, ret, enc->pict_type);
/* if two pass, output log */
if (ost->logfile && enc->stats_out) {
fprintf(ost->logfile, "%s", enc->stats_out);
More information about the ffmpeg-cvslog
mailing list