From 0bd6503656a79bb128807d5ac25a37404f7a5b71 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Tue, 19 Feb 2008 21:18:11 +0000 Subject: [PATCH] tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7702 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/applications/mod_fsv/mod_fsv.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mod/applications/mod_fsv/mod_fsv.c b/src/mod/applications/mod_fsv/mod_fsv.c index 9e345cc92c..e0919ce5c3 100644 --- a/src/mod/applications/mod_fsv/mod_fsv.c +++ b/src/mod/applications/mod_fsv/mod_fsv.c @@ -142,7 +142,9 @@ SWITCH_STANDARD_APP(record_fsv_function) 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;