tsdemux: Don't leak bufferlist on streams without pads

https://bugzilla.gnome.org/show_bug.cgi?id=648929
This commit is contained in:
Edward Hervey 2011-04-29 12:39:38 +02:00
parent 565f068049
commit 21add205b7

View file

@ -1410,6 +1410,8 @@ gst_ts_demux_push_pending_data (GstTSDemux * demux, TSDemuxStream * stream)
/* FIXME : combine flow returns */
res = tsdemux_combine_flows (demux, stream, res);
GST_DEBUG_OBJECT (stream->pad, "combined %s", gst_flow_get_name (res));
} else {
gst_buffer_list_unref (stream->current);
}
}