mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
[MOVED FROM GST-P-FARSIGHT] Remove leak
20080704215936-3e2dc-22d992f98c9931f062662fc05f1ce65bc97f619a.gz
This commit is contained in:
parent
7d52a6fc1a
commit
7b80bac3ab
1 changed files with 0 additions and 3 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue