diff options
-rw-r--r-- | src/encode.c | 1 | ||||
-rw-r--r-- | src/main.c | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/encode.c b/src/encode.c index 5e33980..915cd00 100644 --- a/src/encode.c +++ b/src/encode.c @@ -202,6 +202,7 @@ stp_encode_from_msg (TranscodeServerCtx *ctx) gst_object_unref (template); gst_object_unref (srcpad); + gst_object_unref (sinkpad); g_free (filename); g_free (tmp); #endif @@ -315,7 +315,6 @@ GET: /* Send the WebM stream header through the src pad first */ caps = gst_pad_get_current_caps (srcpad); - /* TODO: cache keyframes */ buffer = stp_get_streamheader_from_caps (caps); if (!buffer) { g_critical ("Unable to get streamheader from caps"); |