mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
suppressed frame number modulus hack - added loop_input hack which I find easier to understand
Originally committed as revision 2151 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -606,7 +606,6 @@ static void av_estimate_timings_from_pts(AVFormatContext *ic)
|
||||
st->start_time < start_time)
|
||||
start_time = st->start_time;
|
||||
}
|
||||
fprintf(stderr, "start=%lld\n", start_time);
|
||||
if (start_time != MAXINT64)
|
||||
ic->start_time = start_time;
|
||||
|
||||
@ -1504,12 +1503,6 @@ int get_frame_filename(char *buf, int buf_size,
|
||||
nd = nd * 10 + *p++ - '0';
|
||||
}
|
||||
c = *p++;
|
||||
if (c == '*' && nd > 0) {
|
||||
// The nd field is actually the modulus
|
||||
number = number % nd;
|
||||
c = *p++;
|
||||
nd = 0;
|
||||
}
|
||||
} while (isdigit(c));
|
||||
|
||||
switch(c) {
|
||||
|
Reference in New Issue
Block a user