mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-23 22:46:24 +00:00
mpegtsbase: Unref buffers we don't use.
Avoids a massive leak :) https://bugzilla.gnome.org/show_bug.cgi?id=648929
This commit is contained in:
parent
c26ca36cf0
commit
565f068049
1 changed files with 2 additions and 1 deletions
|
@ -1083,7 +1083,8 @@ mpegts_base_chain (GstPad * pad, GstBuffer * buf)
|
|||
} else if (base->is_pes[packet.pid]) {
|
||||
/* push the packet downstream */
|
||||
res = mpegts_base_push (base, &packet, NULL);
|
||||
}
|
||||
} else
|
||||
gst_buffer_unref (packet.buffer);
|
||||
|
||||
next:
|
||||
mpegts_packetizer_clear_packet (base->packetizer, &packet);
|
||||
|
|
Loading…
Reference in a new issue