ffmpeg: fix forced key frames.
authorNicolas George <nicolas.george@normalesup.org>
Wed, 5 Oct 2011 12:01:46 +0000 (14:01 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 6 Oct 2011 01:39:15 +0000 (03:39 +0200)
commit2c1c0c5024f8e82200874762cbeeda494875b7e3
tree886dbb55f786d7aee84a2016a343aad90b421467
parent714517b26a90eba208a0e3624193a7f4b8ea15af
ffmpeg: fix forced key frames.

Now that the option was moved in the per-stream context,
the parsing is done before the time_base for the stream is decided.
This patch does the parsing in AV_TIME_BASE units and rescales the
timestamps later when the correct time base is known.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
ffmpeg.c