[farsight2/master] Fix copy-paste error in the session send blocked pad callback
Olivier Crête
olivier.crete at collabora.co.uk
Tue Dec 23 15:20:02 PST 2008
---
gst/fsrtpconference/fs-rtp-session.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/gst/fsrtpconference/fs-rtp-session.c b/gst/fsrtpconference/fs-rtp-session.c
index 71410ca..32b06fd 100644
--- a/gst/fsrtpconference/fs-rtp-session.c
+++ b/gst/fsrtpconference/fs-rtp-session.c
@@ -2055,7 +2055,7 @@ _send_src_pad_have_data_callback (GstPad *pad, GstMiniObject *miniobj,
self->priv->send_codecbin = NULL;
fs_codec_destroy (self->priv->current_send_codec);
- self->priv->send_codecbin = NULL;
+ self->priv->current_send_codec = NULL;
codecbin = fs_rtp_session_add_send_codec_bin (self, codec, blueprint,
@@ -2072,6 +2072,8 @@ _send_src_pad_have_data_callback (GstPad *pad, GstMiniObject *miniobj,
"Could not build a new send codec bin", error->message);
}
+ g_clear_error (&error);
+
done:
if (codec)
{
--
1.5.6.5
More information about the farsight-commits
mailing list