X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Fdemux%2Fogg.c;h=fa6e612340bd1a532ed8f74022c386afd2d0cadc;hb=091aff73545a19bdb1c1706acecfc86e326e2734;hp=dcfbf662f2fd0061c893d191f14c5df61b47da7f;hpb=186e68fd739bc6a2fedf4ffda45c5eee23ee3819;p=vlc diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c index dcfbf662f2..fa6e612340 100644 --- a/modules/demux/ogg.c +++ b/modules/demux/ogg.c @@ -2,7 +2,7 @@ * ogg.c : ogg stream input module for vlc ***************************************************************************** * Copyright (C) 2001 VideoLAN - * $Id: ogg.c,v 1.31 2003/08/17 23:02:52 fenrir Exp $ + * $Id: ogg.c,v 1.33 2003/09/07 22:48:29 fenrir Exp $ * * Authors: Gildas Bazin * @@ -601,7 +601,7 @@ static int Ogg_FindLogicalStreams( input_thread_t *p_input, demux_sys_t *p_ogg) i_keyframe_frequency_force >>= 1; } - p_stream->f_rate = (float)i_fps_numerator / + p_stream->f_rate = ((float)i_fps_numerator) / i_fps_denominator; msg_Dbg( p_input, "found theora header, bitrate: %i, rate: %f", @@ -1092,6 +1092,7 @@ static int Activate( vlc_object_t * p_this ) /* Set the demux function */ p_input->pf_demux = Demux; + p_input->pf_demux_control = demux_vaControlDefault; /* Initialize access plug-in structures. */ if( p_input->i_mtu == 0 )