diff options
Diffstat (limited to 'src/lib.c')
-rw-r--r-- | src/lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,7 +43,7 @@ stp_on_gst_bus_message (GstBus *bus, g_free (tmp); /* Setting the server response will only work if the request * hasn't already finished, so we check that */ - if (!ctx->request_finished) + if (!ctx->stream_finished) soup_message_set_status (ctx->msg, SOUP_STATUS_INTERNAL_SERVER_ERROR); g_hash_table_remove (ctx->parent_ctx_table, ctx->path); break; @@ -73,7 +73,7 @@ stp_cleanup_transcode_server_ctx (TranscodeServerCtx *ctx) /* Cleanup gstreamer pipeline */ gst_element_set_state (ctx->pipeline, GST_STATE_NULL); gst_object_unref (ctx->pipeline); - ctx->pipeline_is_playing = FALSE; + g_free (ctx->path); g_free (ctx); } |