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
@ -1083,7 +1083,8 @@ mpegts_base_chain (GstPad * pad, GstBuffer * buf)
|
|||||||
} else if (base->is_pes[packet.pid]) {
|
} else if (base->is_pes[packet.pid]) {
|
||||||
/* push the packet downstream */
|
/* push the packet downstream */
|
||||||
res = mpegts_base_push (base, &packet, NULL);
|
res = mpegts_base_push (base, &packet, NULL);
|
||||||
}
|
} else
|
||||||
|
gst_buffer_unref (packet.buffer);
|
||||||
|
|
||||||
next:
|
next:
|
||||||
mpegts_packetizer_clear_packet (base->packetizer, &packet);
|
mpegts_packetizer_clear_packet (base->packetizer, &packet);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user