diff options
author | Olivier CrĂȘte <olivier.crete@collabora.co.uk> | 2009-07-25 19:50:05 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2011-10-11 15:36:05 -0400 |
commit | 93491d1e99f3362023800094717b74ce546920dd (patch) | |
tree | e9a84168f05927ef4ceb442ac5f77e4179ebe392 /gst/fsrtpconference/fs-rtp-substream.c | |
parent | cee1670b7a34e9de31bedbe5b7e4b7172b3225e2 (diff) | |
download | farstream-93491d1e99f3362023800094717b74ce546920dd.tar.gz |
stream: Remove debug-msg from error signal
Diffstat (limited to 'gst/fsrtpconference/fs-rtp-substream.c')
-rw-r--r-- | gst/fsrtpconference/fs-rtp-substream.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/gst/fsrtpconference/fs-rtp-substream.c b/gst/fsrtpconference/fs-rtp-substream.c index fadafd94..3d63a3fd 100644 --- a/gst/fsrtpconference/fs-rtp-substream.c +++ b/gst/fsrtpconference/fs-rtp-substream.c @@ -1386,17 +1386,23 @@ _rtpbin_pad_blocked_callback (GstPad *pad, gboolean blocked, gpointer user_data) error: { - gchar *str = g_strdup_printf ("Could not add the new recv codec bin for" - " ssrc %u and payload type %d to the state NULL", substream->ssrc, - substream->pt); - if (substream->priv->stream) + { + g_prefix_error (&error, "Could not add the new recv codec bin for" + " ssrc %u and payload type %d to the state NULL", substream->ssrc, + substream->pt); fs_stream_emit_error (FS_STREAM (substream->priv->stream), - FS_ERROR_CONSTRUCTION, str, error->message); + FS_ERROR_CONSTRUCTION, error->message); + } else + { + gchar *str = g_strdup_printf ("Could not add the new recv codec bin for" + " ssrc %u and payload type %d to the state NULL", substream->ssrc, + substream->pt); fs_session_emit_error (FS_SESSION (substream->priv->session), FS_ERROR_CONSTRUCTION, str, error->message); - g_free (str); + g_free (str); + } } goto out; |