mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
libs/gst/base/gstbasetransform.c: Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
Original commit message from CVS: * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain): Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
This commit is contained in:
parent
c7fc3dc0e8
commit
efebdfa353
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-10-27 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
|
||||
Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
|
||||
|
||||
2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* gst/gststructure.c: (gst_structure_id_set_value):
|
||||
|
|
|
@ -1544,8 +1544,7 @@ gst_base_transform_chain (GstPad * pad, GstBuffer * buffer)
|
|||
|
||||
/* outbuf can be NULL, this means a dropped buffer */
|
||||
if (outbuf != NULL) {
|
||||
/* if output buffer is empty, we don't push it out */
|
||||
if ((ret == GST_FLOW_OK) && (GST_BUFFER_SIZE (outbuf) > 0))
|
||||
if ((ret == GST_FLOW_OK))
|
||||
ret = gst_pad_push (trans->srcpad, outbuf);
|
||||
else
|
||||
gst_buffer_unref (outbuf);
|
||||
|
|
Loading…
Reference in a new issue