Commit ab369de9 authored by Jai Menon's avatar Jai Menon Committed by Jean-Baptiste Kempf

AVFormat Demuxer : Set video ES frame rate.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
(cherry picked from commit 1afc9d66)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 58903aa1
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment