summaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-30 00:56:33 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-30 00:56:33 +0200
commit7d1918affee4bc70fb8ac139ba9235e7fed2979b (patch)
treeb8c1beadf98aceeee6a155ae83bfc110656ca595 /ffmpeg.c
parent316f6df9cc5a70c5b117793c9f167c4ce629c1e0 (diff)
parent41f43202cf7648522b4ce0ed7bbb326655dbb9bc (diff)
downloadffmpeg-streaming-7d1918affee4bc70fb8ac139ba9235e7fed2979b.zip
ffmpeg-streaming-7d1918affee4bc70fb8ac139ba9235e7fed2979b.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: flvdec: remove spurious use of stream id lavf: deprecate r_frame_rate. lavf: round estimated average fps to a "standard" fps. Conflicts: ffmpeg.c ffprobe.c libavformat/avformat.h libavformat/electronicarts.c libavformat/flvdec.c libavformat/rawdec.c libavformat/utils.c tests/ref/fate/iv8-demux Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index ce3c05a..fc48e7c 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -3083,6 +3083,7 @@ static int transcode_init(void)
ost->frame_rate = av_buffersink_get_frame_rate(ost->filter->filter);
if (ist && !ost->frame_rate.num)
ost->frame_rate = ist->st->r_frame_rate.num ? ist->st->r_frame_rate : (AVRational){25, 1};
+// ost->frame_rate = ist->st->avg_frame_rate.num ? ist->st->avg_frame_rate : (AVRational){25, 1};
if (ost->enc && ost->enc->supported_framerates && !ost->force_fps) {
int idx = av_find_nearest_q_idx(ost->frame_rate, ost->enc->supported_framerates);
ost->frame_rate = ost->enc->supported_framerates[idx];
OpenPOWER on IntegriCloud