Commit 9f4baa09 authored by Christophe Mutricy's avatar Christophe Mutricy

ckport of [11175]

parent 3ad31b05
......@@ -530,8 +530,13 @@ static int DemuxOpen( vlc_object_t *p_this )
fmt.video.i_gmask = 0x0000ff00;
fmt.video.i_rmask = 0x000000ff;
}
fmt.video.i_frame_rate = 10000000000ULL/p_stream->header.video.AvgTimePerFrame;
fmt.video.i_frame_rate_base = 1000;
if( p_stream->header.video.AvgTimePerFrame )
{
fmt.video.i_frame_rate = 10000000;
fmt.video.i_frame_rate_base =
p_stream->header.video.AvgTimePerFrame;
}
}
else if( p_stream->mt.majortype == MEDIATYPE_Audio )
{
......
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