[Ffmpeg-cvslog] r8732 - trunk/ffmpeg.c
michael
subversion
Sat Apr 14 19:50:39 CEST 2007
Author: michael
Date: Sat Apr 14 19:50:39 2007
New Revision: 8732
Modified:
trunk/ffmpeg.c
Log:
fix overhead and bitrate statistics
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Sat Apr 14 19:50:39 2007
@@ -915,7 +915,9 @@ static void print_report(AVFormatContext
oc = output_files[0];
- total_size = url_ftell(&oc->pb);
+ total_size = url_fsize(&oc->pb);
+ if(total_size<0) // FIXME improve url_fsize() so it works with non seekable output too
+ total_size= url_ftell(&oc->pb);
buf[0] = '\0';
ti1 = 1e10;
More information about the ffmpeg-cvslog
mailing list