projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
081da67
)
rtph264depay: fix caps leak
author
Tim-Philipp Müller
<tim@centricular.com>
Wed, 6 Mar 2019 17:33:23 +0000
(17:33 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Wed, 6 Mar 2019 18:21:20 +0000
(18:21 +0000)
Exposed by rtp_h264depay_bytestream() unit test.
gst/rtp/gstrtph264depay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtph264depay.c
b/gst/rtp/gstrtph264depay.c
index
4b3be6a
..
275a9a0
100644
(file)
--- a/
gst/rtp/gstrtph264depay.c
+++ b/
gst/rtp/gstrtph264depay.c
@@
-469,6
+469,7
@@
gst_rtp_h264_set_src_caps (GstRtpH264Depay * rtph264depay)
res = gst_rtp_h264_depay_set_output_caps (rtph264depay, srccaps);
}
+ gst_clear_caps (&old_caps);
gst_caps_unref (srccaps);
/* Insert SPS and PPS into the stream on next opportunity (if bytestream) */