[FFmpeg-cvslog] r10046 - trunk/ffmpeg.c
michael
subversion
Fri Aug 10 03:15:51 CEST 2007
Author: michael
Date: Fri Aug 10 03:15:51 2007
New Revision: 10046
Log:
fix x11grab
Modified:
trunk/ffmpeg.c
Modified: trunk/ffmpeg.c
==============================================================================
--- trunk/ffmpeg.c (original)
+++ trunk/ffmpeg.c Fri Aug 10 03:15:51 2007
@@ -1778,7 +1778,8 @@ static int av_encode(AVFormatContext **o
is = input_files[ist->file_index];
ist->pts = 0;
ist->next_pts=0;
- if(input_files_ts_offset[ist->file_index] != -is->start_time)
+ if( input_files_ts_offset[ist->file_index] != -is->start_time
+ && !(is->start_time == AV_NOPTS_VALUE && input_files_ts_offset[ist->file_index]==0))
ist->next_pts= AV_NOPTS_VALUE;
ist->is_start = 1;
}
More information about the ffmpeg-cvslog
mailing list