From: lilo_booter Date: Sat, 28 May 2005 14:17:39 +0000 (+0000) Subject: NTSC fix X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=72815200c65ff4587df5e8da908b9281e044f1ca;p=melted NTSC fix git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@729 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/src/modules/avformat/consumer_avformat.c b/src/modules/avformat/consumer_avformat.c index 1f10f6b..febd134 100644 --- a/src/modules/avformat/consumer_avformat.c +++ b/src/modules/avformat/consumer_avformat.c @@ -417,9 +417,8 @@ static AVStream *add_video_stream( mlt_consumer this, AVFormatContext *oc, int c c->bit_rate_tolerance = mlt_properties_get_int( properties, "video_bit_rate_tolerance" ); c->width = mlt_properties_get_int( properties, "width" ); c->height = mlt_properties_get_int( properties, "height" ); - c->time_base.den = mlt_properties_get_double( properties, "fps" ); - c->time_base.num = mlt_properties_get_double( properties, "frame_rate_base" ); - c->time_base.num = 1; + c->time_base.den = mlt_properties_get_int( properties, "frame_rate_den" ); + c->time_base.num = mlt_properties_get_int( properties, "frame_rate_num" ); c->gop_size = mlt_properties_get_int( properties, "gop_size" ); c->pix_fmt = PIX_FMT_YUV420P;