[Freeswitch-svn] [commit] r7702 - freeswitch/trunk/src/mod/applications/mod_fsv

Freeswitch SVN mikej at freeswitch.org
Tue Feb 19 16:18:11 EST 2008


Author: mikej
Date: Tue Feb 19 16:18:11 2008
New Revision: 7702

Modified:
   freeswitch/trunk/src/mod/applications/mod_fsv/mod_fsv.c

Log:
tweak

Modified: freeswitch/trunk/src/mod/applications/mod_fsv/mod_fsv.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_fsv/mod_fsv.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_fsv/mod_fsv.c	Tue Feb 19 16:18:11 2008
@@ -142,7 +142,9 @@
 		h.version = VERSION;
 		h.created = switch_timestamp_now();
 		switch_set_string(h.video_codec_name, vid_codec->implementation->iananame);
-		switch_set_string(h.video_fmtp, vid_codec->fmtp_in);
+		if (vid_codec->fmtp_in) {
+			switch_set_string(h.video_fmtp, vid_codec->fmtp_in);
+		}
 		h.audio_rate = read_codec->implementation->samples_per_second;
 		h.audio_ptime = read_codec->implementation->microseconds_per_frame / 1000;
 		



More information about the Freeswitch-svn mailing list