Commit 31e57342 authored by Simon Morlat's avatar Simon Morlat

fix bug in log and comment

parent 77022250
......@@ -459,7 +459,6 @@ MS2_PUBLIC bool_t ms_filter_has_method(MSFilter *f, unsigned int id);
* @param fn A MSFilterNotifyFunc that will be called.
* @param userdata A pointer to private data.
* @param synchronous boolean that indicates whether this callback must be called synchronously.
* @deprecated use ms_filter_add_notify_callback()
*
*/
MS2_PUBLIC void ms_filter_add_notify_callback(MSFilter *f, MSFilterNotifyFunc fn, void *userdata, bool_t synchronous);
......
......@@ -106,7 +106,7 @@ static void audio_stream_configure_resampler(MSFilter *resampler,MSFilter *from,
from_rate=8000;
}
if (to_rate == 0){
ms_error("Filter %s does not implement the MS_FILTER_GET_SAMPLE_RATE method, assuming 8000hz", from->desc->name);
ms_error("Filter %s does not implement the MS_FILTER_GET_SAMPLE_RATE method, assuming 8000hz", to->desc->name);
to_rate=8000;
}
ms_filter_call_method(resampler,MS_FILTER_SET_SAMPLE_RATE,&from_rate);
......
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