Commit 1afc9d66 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>
parent 19a50f5d
...@@ -281,6 +281,8 @@ int OpenDemux( vlc_object_t *p_this ) ...@@ -281,6 +281,8 @@ int OpenDemux( vlc_object_t *p_this )
*fmt.video.p_palette = *(video_palette_t *)cc->palctrl; *fmt.video.p_palette = *(video_palette_t *)cc->palctrl;
} }
psz_type = "video"; psz_type = "video";
fmt.video.i_frame_rate = cc->time_base.den;
fmt.video.i_frame_rate_base = cc->time_base.num;
break; break;
case CODEC_TYPE_SUBTITLE: 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