Fixed problem spottet by Ken Hughes, that prevented FFMPEG-output with
NTSC target from working (floating point exception). Fixes bug #3879 from the bug tracker.
This commit is contained in:
@@ -350,7 +350,8 @@ static AVStream* alloc_video_stream(int codec_id, AVFormatContext* of,
|
||||
|
||||
/* FIXME: Really bad hack (tm) for NTSC support */
|
||||
if (ffmpeg_type == FFMPEG_DV && G.scene->r.frs_sec != 25) {
|
||||
c->time_base = av_d2q(29.97, 0);
|
||||
c->time_base.den = 2997;
|
||||
c->time_base.num = 100;
|
||||
} else {
|
||||
c->time_base.den = G.scene->r.frs_sec;
|
||||
c->time_base.num = 1;
|
||||
|
||||
Reference in New Issue
Block a user