summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/main.c b/src/main.c
index 3d0933c..452f84a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -34,26 +34,6 @@ get_server_ctx_from_msg (SoupMessage *msg,
return ctx;
}
-static void
-enough_data_pause_message (GstElement *appsrc,
- guint size,
- TranscodeServerCtx *ctx)
-{
- /* Pausing the request can cause weirdness if
- * the recv rate is too high. So, we don't do this. */
- //g_print ("Enough data, pause. ");
- //soup_server_pause_message (server, ctx->msg);
-}
-
-static void
-need_data_unpause_message (GstElement *appsrc,
- guint size,
- TranscodeServerCtx *ctx)
-{
- //g_print ("Need data, unpause. \n");
- //soup_server_unpause_message (server, ctx->msg);
-}
-
static GstPadProbeReturn
tee_src_pad_blocked_cb (GstPad *srcpad,
GstPadProbeInfo *info,
@@ -447,10 +427,6 @@ PUT: {
#else
stp_encode_from_msg (ctx);
#endif
- g_signal_connect (ctx->appsrc, "need-data",
- G_CALLBACK (need_data_unpause_message), ctx);
- g_signal_connect (ctx->appsrc, "enough-data",
- G_CALLBACK (enough_data_pause_message), ctx);
}
/* The request body isn't fixed length, so tell libsoup to