[asterisk-commits] rizzo: branch rizzo/video_v2 r85231 - /team/rizzo/video_v2/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Oct 10 04:13:11 CDT 2007


Author: rizzo
Date: Wed Oct 10 04:13:11 2007
New Revision: 85231

URL: http://svn.digium.com/view/asterisk?view=rev&rev=85231
Log:
print the format name when changing format on rtp

Modified:
    team/rizzo/video_v2/channels/chan_sip.c

Modified: team/rizzo/video_v2/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/rizzo/video_v2/channels/chan_sip.c?view=diff&rev=85231&r1=85230&r2=85231
==============================================================================
--- team/rizzo/video_v2/channels/chan_sip.c (original)
+++ team/rizzo/video_v2/channels/chan_sip.c Wed Oct 10 04:13:11 2007
@@ -4871,7 +4871,8 @@
 				ast_getformatname(f->subclass), p->owner->name);
 			return &ast_null_frame;
 		}
-		ast_debug(1, "Oooh, format changed to %d\n", f->subclass);
+		ast_debug(1, "Oooh, format changed to %d %s\n", f->subclass,
+			ast_getformatname(f->subclass));
 		p->owner->nativeformats = (p->owner->nativeformats & (AST_FORMAT_VIDEO_MASK | AST_FORMAT_TEXT_MASK)) | f->subclass;
 		ast_set_read_format(p->owner, p->owner->readformat);
 		ast_set_write_format(p->owner, p->owner->writeformat);




More information about the asterisk-commits mailing list