Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
mediastreamer2
Commits
32adc29b
Commit
32adc29b
authored
Apr 03, 2012
by
jehan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix compilation issues
parent
505962be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
src/audiostream.c
src/audiostream.c
+5
-4
tests/mediastream.c
tests/mediastream.c
+1
-1
No files found.
src/audiostream.c
View file @
32adc29b
...
...
@@ -461,12 +461,13 @@ int audio_stream_start_full(AudioStream *stream, RtpProfile *profile, const char
/* create ticker */
stream
->
ticker
=
ms_ticker_new
();
ms_ticker_stop
(
stream
->
ticker
);
/*to make sure all filters are started after preprocessed this is very useful for filter sharing resource in both filter graph*/
ms_ticker_set_name
(
stream
->
ticker
,
"Audio MSTicker"
);
ms_ticker_set_priority
(
stream
->
ticker
,
__ms_get_default_prio
(
FALSE
));
ms_ticker_attach
(
stream
->
ticker
,
stream
->
soundread
);
ms_ticker_attach
(
stream
->
ticker
,
stream
->
rtprecv
);
ms_ticker_start
(
stream
->
ticker
);
/*to make sure all preprocess are done before befre processing audio*/
ms_ticker_attach_multiple
(
stream
->
ticker
,
stream
->
soundread
,
stream
->
rtprecv
,
NULL
);
stream
->
start_time
=
ms_time
(
NULL
);
stream
->
is_beginning
=
TRUE
;
...
...
tests/mediastream.c
View file @
32adc29b
...
...
@@ -208,7 +208,7 @@ static int _main(int argc, char * argv[])
int
main
(
int
argc
,
char
*
argv
[])
#endif
#if !ANDROID && !TARGET_OS_MAC
X
#if !ANDROID && !TARGET_OS_MAC
{
MediastreamDatas
*
args
;
cond
=
1
;
...
...
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