summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2014-07-14 20:25:45 (GMT)
committerNirbheek Chauhan <nirbheek@centricular.com>2014-07-14 20:25:49 (GMT)
commite803e9fbda506f88cb4688c6ff7224877cfad2b4 (patch)
treecf4bfdc26146db28ecd26ed40281a812cf04101d /src
parent5e3b9fc170c77a55003d9d94a71fea6eda88f847 (diff)
downloadsoup-transcoding-proxy-e803e9fbda506f88cb4688c6ff7224877cfad2b4.zip
soup-transcoding-proxy-e803e9fbda506f88cb4688c6ff7224877cfad2b4.tar.gz
encode: Don't leak sinkpad, remove outdated comment
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");