Commit 70606fca authored by Ghislain MARY's avatar Ghislain MARY
Browse files

Do not create audio ticker if it already exists.

parent 5bd6381c
...@@ -351,7 +351,7 @@ void audio_stream_prepare_sound(AudioStream *stream, MSSndCard *playcard, MSSndC ...@@ -351,7 +351,7 @@ void audio_stream_prepare_sound(AudioStream *stream, MSSndCard *playcard, MSSndC
stream->voidsink=ms_filter_new(MS_VOID_SINK_ID); stream->voidsink=ms_filter_new(MS_VOID_SINK_ID);
ms_filter_link(stream->dummy,0,stream->voidsink,0); ms_filter_link(stream->dummy,0,stream->voidsink,0);
} }
start_ticker(stream); if (stream->ticker == NULL) start_ticker(stream);
ms_ticker_attach(stream->ticker,stream->dummy); ms_ticker_attach(stream->ticker,stream->dummy);
} }
......
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