git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
avconv: do not use poorly defined and undocumented AVStream.pts
[ffmpeg.git]
/
avconv.c
diff --git
a/avconv.c
b/avconv.c
index
56b9baa
..
2cee09b
100644
(file)
--- a/
avconv.c
+++ b/
avconv.c
@@
-955,7
+955,7
@@
static void print_report(int is_last_report, int64_t timer_start)
vid = 1;
}
/* compute min output value */
vid = 1;
}
/* compute min output value */
- pts = (double)ost->
st->pts.val
* av_q2d(ost->st->time_base);
+ pts = (double)ost->
last_mux_dts
* av_q2d(ost->st->time_base);
if ((pts < ti1) && (pts > 0))
ti1 = pts;
}
if ((pts < ti1) && (pts > 0))
ti1 = pts;
}