From: Jai Menon Date: Sun, 20 Jun 2010 16:38:22 +0000 (+0530) Subject: AVFormat Demuxer : Set video ES frame rate. X-Git-Tag: 1.2.0-pre1~6079 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=1afc9d6656e7e6a931d80f60efa1efdfd76dd7ff;p=vlc AVFormat Demuxer : Set video ES frame rate. Signed-off-by: Jean-Baptiste Kempf --- diff --git a/modules/demux/avformat/demux.c b/modules/demux/avformat/demux.c index 3b5454b6ec..98d857cbbf 100644 --- a/modules/demux/avformat/demux.c +++ b/modules/demux/avformat/demux.c @@ -281,6 +281,8 @@ int OpenDemux( vlc_object_t *p_this ) *fmt.video.p_palette = *(video_palette_t *)cc->palctrl; } psz_type = "video"; + fmt.video.i_frame_rate = cc->time_base.den; + fmt.video.i_frame_rate_base = cc->time_base.num; break; case CODEC_TYPE_SUBTITLE: