aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/gnunet-helper-audio-playback-gst.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-10-29 12:32:57 +0100
committerChristian Grothoff <christian@grothoff.org>2017-10-29 12:32:57 +0100
commit17f5db6f7c8d60930367738b3d872fbf891486ee (patch)
tree52e6362a319a417c813876f36733b4bdc567593a /src/conversation/gnunet-helper-audio-playback-gst.c
parentd10108c802b56535b03597e9fbb7603b0eeef9c0 (diff)
downloadgnunet-17f5db6f7c8d60930367738b3d872fbf891486ee.tar.gz
gnunet-17f5db6f7c8d60930367738b3d872fbf891486ee.zip
allow MST callback to distinguish between disconnect and parse error situations, and only log for the hard errors
Diffstat (limited to 'src/conversation/gnunet-helper-audio-playback-gst.c')
-rw-r--r--src/conversation/gnunet-helper-audio-playback-gst.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/conversation/gnunet-helper-audio-playback-gst.c b/src/conversation/gnunet-helper-audio-playback-gst.c
index 264b14e76..002fed6c7 100644
--- a/src/conversation/gnunet-helper-audio-playback-gst.c
+++ b/src/conversation/gnunet-helper-audio-playback-gst.c
@@ -221,6 +221,11 @@ feed_buffer_to_gst (const char *audio, size_t b_len)
221 221
222/** 222/**
223 * Message callback 223 * Message callback
224 *
225 * @param msg message we received.
226 * @return #GNUNET_OK on success,
227 * #GNUNET_NO to stop further processing due to disconnect (no error)
228 * #GNUNET_SYSERR to stop further processing due to error
224 */ 229 */
225static int 230static int
226stdin_receiver (void *cls, 231stdin_receiver (void *cls,