diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2014-07-14 20:25:45 (GMT) |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2014-07-14 20:25:49 (GMT) |
commit | e803e9fbda506f88cb4688c6ff7224877cfad2b4 (patch) | |
tree | cf4bfdc26146db28ecd26ed40281a812cf04101d | |
parent | 5e3b9fc170c77a55003d9d94a71fea6eda88f847 (diff) | |
download | soup-transcoding-proxy-e803e9fbda506f88cb4688c6ff7224877cfad2b4.zip soup-transcoding-proxy-e803e9fbda506f88cb4688c6ff7224877cfad2b4.tar.gz |
encode: Don't leak sinkpad, remove outdated comment
-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"); |