mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
small compile fix
Original commit message from CVS: small compile fix
This commit is contained in:
parent
bacad78afe
commit
1795cddc9f
2 changed files with 2 additions and 4 deletions
|
@ -256,14 +256,13 @@ gst_tee_chain (GstPad *pad, GstBuffer *buf)
|
||||||
{
|
{
|
||||||
GstTee *tee;
|
GstTee *tee;
|
||||||
GList *pads;
|
GList *pads;
|
||||||
gint i;
|
|
||||||
|
|
||||||
g_return_if_fail (pad != NULL);
|
g_return_if_fail (pad != NULL);
|
||||||
g_return_if_fail (GST_IS_PAD (pad));
|
g_return_if_fail (GST_IS_PAD (pad));
|
||||||
g_return_if_fail (buf != NULL);
|
g_return_if_fail (buf != NULL);
|
||||||
|
|
||||||
tee = GST_TEE (gst_pad_get_parent (pad));
|
tee = GST_TEE (gst_pad_get_parent (pad));
|
||||||
/* gst_trace_add_entry (NULL, 0, buf, "tee buffer");*/
|
/*gst_trace_add_entry (NULL, 0, buf, "tee buffer");*/
|
||||||
|
|
||||||
gst_buffer_ref_by_count (buf, GST_ELEMENT (tee)->numsrcpads - 1);
|
gst_buffer_ref_by_count (buf, GST_ELEMENT (tee)->numsrcpads - 1);
|
||||||
|
|
||||||
|
|
|
@ -256,14 +256,13 @@ gst_tee_chain (GstPad *pad, GstBuffer *buf)
|
||||||
{
|
{
|
||||||
GstTee *tee;
|
GstTee *tee;
|
||||||
GList *pads;
|
GList *pads;
|
||||||
gint i;
|
|
||||||
|
|
||||||
g_return_if_fail (pad != NULL);
|
g_return_if_fail (pad != NULL);
|
||||||
g_return_if_fail (GST_IS_PAD (pad));
|
g_return_if_fail (GST_IS_PAD (pad));
|
||||||
g_return_if_fail (buf != NULL);
|
g_return_if_fail (buf != NULL);
|
||||||
|
|
||||||
tee = GST_TEE (gst_pad_get_parent (pad));
|
tee = GST_TEE (gst_pad_get_parent (pad));
|
||||||
/* gst_trace_add_entry (NULL, 0, buf, "tee buffer");*/
|
/*gst_trace_add_entry (NULL, 0, buf, "tee buffer");*/
|
||||||
|
|
||||||
gst_buffer_ref_by_count (buf, GST_ELEMENT (tee)->numsrcpads - 1);
|
gst_buffer_ref_by_count (buf, GST_ELEMENT (tee)->numsrcpads - 1);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue