]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4107 --resolve
authorAnthony Minessale <anthm@freeswitch.org>
Fri, 13 Apr 2012 12:33:00 +0000 (07:33 -0500)
committerAnthony Minessale <anthm@freeswitch.org>
Fri, 13 Apr 2012 12:33:00 +0000 (07:33 -0500)
src/switch_core_session.c

index 86fdfb98db5a0e0a6dc2a299a29622d3200889fb..4e6836ddce073a6d9f91557d642f114256922e00 100644 (file)
@@ -531,7 +531,7 @@ SWITCH_DECLARE(switch_call_cause_t) switch_core_session_outgoing_channel(switch_
                                switch_codec2str(read_codec, rc, sizeof(rc));
                                if (vid_read_codec && vid_read_codec->implementation && switch_core_codec_ready(vid_read_codec)) {
                                        vrc[0] = ',';
-                                       switch_codec2str(read_codec, vrc + 1, sizeof(vrc) - 1);
+                                       switch_codec2str(vid_read_codec, vrc + 1, sizeof(vrc) - 1);
                                        switch_channel_set_variable(peer_channel, SWITCH_ORIGINATOR_VIDEO_CODEC_VARIABLE, vrc + 1);
                                }