Commit d161c006 authored by Gildas Bazin's avatar Gildas Bazin

* modules/demux/ogg.c: latest change for web radios support did affect the quality of normal
ogg files. Make the check a bit more strict.
parent 4faf2cab
......@@ -2,7 +2,7 @@
* ogg.c : ogg stream input module for vlc
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: ogg.c,v 1.28 2003/06/24 00:31:34 gbazin Exp $
* $Id: ogg.c,v 1.29 2003/07/09 22:10:13 gbazin Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
......@@ -1418,7 +1418,7 @@ static int Demux( input_thread_t * p_input )
/* This is for streams where the granulepos of the header packets
* don't match these of the data packets (eg. ogg web radios). */
if( p_ogg->i_old_pcr == 0 && p_ogg->i_pcr > 0 )
if( p_ogg->i_old_pcr == 0 && p_ogg->i_pcr > 3 * DEFAULT_PTS_DELAY * 9/100 )
p_input->stream.p_selected_program->i_synchro_state = SYNCHRO_REINIT;
/* Call the pace control */
......
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