Commit 69a2d95d authored by Simon Morlat's avatar Simon Morlat
Browse files

improve error logging in AudioStream

parent 7dd2653a
......@@ -345,7 +345,7 @@ int audio_stream_start_full(AudioStream *stream, RtpProfile *profile, const char
if ((stream->encoder==NULL) || (stream->decoder==NULL)){
/* big problem: we have not a registered codec for this payload...*/
ms_error("mediastream.c: No decoder available for payload %i.",payload);
ms_error("audio_stream_start_full: No decoder or encoder available for payload %s.",pt->mime_type);
return -1;
if (ms_filter_has_method(stream->decoder, MS_FILTER_SET_RTP_PAYLOAD_PICKER)) {
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