Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
mediastreamer2
Commits
70606fca
Commit
70606fca
authored
Sep 27, 2012
by
Ghislain MARY
Browse files
Do not create audio ticker if it already exists.
parent
5bd6381c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/audiostream.c
View file @
70606fca
...
...
@@ -351,7 +351,7 @@ void audio_stream_prepare_sound(AudioStream *stream, MSSndCard *playcard, MSSndC
stream
->
voidsink
=
ms_filter_new
(
MS_VOID_SINK_ID
);
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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment