Commit 3555dbbd authored by Simon Morlat's avatar Simon Morlat

Fix annoying error message in logs (without good reason for it)

parent eb2af049
......@@ -834,7 +834,6 @@ static MSFilterMethod au_read_methods[]={
{ MS_FILTER_GET_SAMPLE_RATE , get_rate },
{ MS_FILTER_SET_NCHANNELS , read_set_nchannels },
{ MS_FILTER_GET_NCHANNELS , get_nchannels },
{ MS_AUDIO_PLAYBACK_MUTE , set_muted },
{ 0 , NULL }
};
......
......@@ -1270,7 +1270,7 @@ int audio_stream_start_from_io(AudioStream *stream, RtpProfile *profile, const c
stream->ms.state=MSStreamStarted;
if (stream->soundwrite) {
if (ms_filter_implements_interface(stream->soundwrite, MSFilterAudioPlaybackInterface)) {
if (ms_filter_has_method(stream->soundwrite, MS_AUDIO_PLAYBACK_SET_ROUTE)) {
ms_filter_call_method(stream->soundwrite, MS_AUDIO_PLAYBACK_SET_ROUTE, &stream->audio_route);
}
}
......
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