[MOVED FROM GST-P-FARSIGHT] Remove leak

20080704215936-3e2dc-22d992f98c9931f062662fc05f1ce65bc97f619a.gz
This commit is contained in:
Olivier Crete 2008-07-04 21:59:36 +00:00 committed by Olivier Crête
parent 7d52a6fc1a
commit 7b80bac3ab

View file

@ -161,12 +161,9 @@ gst_mimdec_chain (GstPad *pad, GstBuffer *in)
mimdec = GST_MIMDEC (gst_pad_get_parent (pad)); mimdec = GST_MIMDEC (gst_pad_get_parent (pad));
g_return_val_if_fail (GST_IS_MIMDEC (mimdec), GST_FLOW_ERROR); g_return_val_if_fail (GST_IS_MIMDEC (mimdec), GST_FLOW_ERROR);
g_return_val_if_fail(GST_PAD_IS_LINKED(mimdec->srcpad), GST_FLOW_ERROR);
buf = GST_BUFFER (in); buf = GST_BUFFER (in);
gst_adapter_push (mimdec->adapter, buf); gst_adapter_push (mimdec->adapter, buf);
if (!GST_CLOCK_TIME_IS_VALID (mimdec->gst_timestamp)) if (!GST_CLOCK_TIME_IS_VALID (mimdec->gst_timestamp))
mimdec->gst_timestamp = GST_BUFFER_TIMESTAMP (in); mimdec->gst_timestamp = GST_BUFFER_TIMESTAMP (in);