summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/encode.c1
-rw-r--r--src/main.c1
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
diff --git a/src/main.c b/src/main.c
index fe9d44a..b0a102c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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");