102.11.0-1
[arch-packages.git] / farstream-0.1 / trunk / farstream-rtp-session.patch
blob70ce41fabb74c927c8f20917df905ea02708539f
1 --- farstream-0.1.2/gst/fsrtpconference/fs-rtp-session.c.orig 2012-03-22 15:23:10.000000000 -0500
2 +++ farstream-0.1.2/gst/fsrtpconference/fs-rtp-session.c 2014-08-08 11:59:55.206979402 -0500
3 @@ -3624,6 +3624,9 @@
5 if (!codecbin)
7 + g_set_error (error, FS_ERROR, FS_ERROR_CONSTRUCTION,
8 + "Could create codec bin for: " FS_CODEC_FORMAT,
9 + FS_CODEC_ARGS (send_codec_copy));
10 fs_codec_destroy (send_codec_copy);
11 fs_codec_destroy (codec_copy);
12 fs_codec_list_destroy (codecs);
13 @@ -3690,6 +3693,9 @@
15 if (!g_value_get_boolean (&link_rv))
17 + g_set_error (error, FS_ERROR, FS_ERROR_CONSTRUCTION,
18 + "Could not get boolean value for link"
19 + " the main pad for: " FS_CODEC_FORMAT, FS_CODEC_ARGS (send_codec_copy));
20 gst_iterator_free (iter);
21 goto error;
23 @@ -3709,8 +3715,12 @@
25 gst_iterator_free (iter);
27 - if (!g_value_get_boolean (&link_rv))
28 + if (!g_value_get_boolean (&link_rv)) {
29 + g_set_error (error, FS_ERROR, FS_ERROR_CONSTRUCTION,
30 + "Could not get boolean value for link"
31 + " the main pad for: " FS_CODEC_FORMAT, FS_CODEC_ARGS (send_codec_copy));
32 goto error;
33 + }
35 gst_element_set_locked_state (codecbin, FALSE);