diff options
Diffstat (limited to 'src/lib.h')
-rw-r--r-- | src/lib.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -34,6 +34,8 @@ struct _TranscodeServerCtx { SoupMessage *msg; GstElement *pipeline; GstElement *appsrc; + /* Contains buffers from the previous keyframe till right now */ + GstBufferList *keyframe; /* If the encoding is not chunked, we'll get multiple requests * with separate Content-Length headers on the same path */ SoupEncoding encoding; @@ -76,6 +78,9 @@ void stp_cleanup_transcode_client_ctx (TranscodeClientCtx *ctx); gboolean stp_on_gst_bus_message (GstBus *bus, GstMessage *msg, TranscodeServerCtx *ctx); +gboolean stp_unref_gst_buffer (GstBuffer **buffer, + guint idx, + gpointer user_data); GstBuffer* stp_get_streamheader_from_caps (GstCaps *caps); GstBuffer* stp_get_gst_buffer (SoupBuffer *chunk); |