mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
codecs: h264: unref leaked caps
Unref a leaked caps at set_latency(). Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1590>
This commit is contained in:
parent
912fa7ce99
commit
3dd8276551
1 changed files with 1 additions and 0 deletions
|
@ -1906,6 +1906,7 @@ gst_h264_decoder_set_latency (GstH264Decoder * self, const GstH264SPS * sps,
|
|||
gst_structure_get_fraction (structure, "max-framerate", &fps_n, &fps_d);
|
||||
}
|
||||
}
|
||||
gst_caps_unref (caps);
|
||||
|
||||
/* if no fps or variable, then 25/1 */
|
||||
if (fps_n == 0) {
|
||||
|
|
Loading…
Reference in a new issue