diff options
Diffstat (limited to 'src/lib.c')
-rw-r--r-- | src/lib.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -59,16 +59,6 @@ stp_on_gst_bus_message (GstBus *bus, return TRUE; } -gboolean -stp_unref_gst_buffer (GstBuffer **buffer, - guint idx, - gpointer user_data) -{ - gst_buffer_unref (*buffer); - *buffer = NULL; - return TRUE; -} - /* When the incoming stream reaches EOS, we call this * which initiates a shutdown for all clients and then * the server itself */ @@ -85,9 +75,6 @@ stp_cleanup_transcode_server_ctx (TranscodeServerCtx *ctx) gst_element_set_state (ctx->pipeline, GST_STATE_NULL); gst_object_unref (ctx->pipeline); - gst_buffer_list_foreach (ctx->keyframe, stp_unref_gst_buffer, NULL); - gst_buffer_list_unref (ctx->keyframe); - g_free (ctx); } |