mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-15 03:45:38 +00:00
rtph264depay: fix caps leak
Exposed by rtp_h264depay_bytestream() unit test.
This commit is contained in:
parent
081da67444
commit
c79cf179cc
1 changed files with 1 additions and 0 deletions
|
@ -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) */
|
||||
|
|
Loading…
Reference in a new issue