[vlc-devel] Decoders & Invalid timestamp conversion problem

Francois Cartegnie fcvlcdev at free.fr
Tue Mar 18 11:21:08 CET 2014


Le 18/03/2014 09:49, Rémi Denis-Courmont a écrit :
> On Tue, 18 Mar 2014 04:36:16 +0100, Francois Cartegnie <fcvlcdev at free.fr>
> wrote:
>> On seek, INPUT_SET_POSITION resets clock to -1, while the decoder thread
>> is still in its DecoderDecodeAudio() loop, processing the block.

Mistake: Control is INPUT_CONTROL_SET_POSITION.

> The input clock is only used up to the ES output. The decoder and the
> audio output do not depend on the input clock. So that should not be a
> problem.

The error is triggered by invalid reference on this clock:
p_dec->p_owner->p_clock

If everything is commented out in INPUT_CONTROL_SET_POSITION except:
	
	es_out_SetTime( p_input->p->p_es_out, -1 );

then the error still appears.


Francois



More information about the vlc-devel mailing list