summaryrefslogtreecommitdiff
path: root/gst/sdi
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2011-08-04 09:36:07 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2011-08-04 09:36:07 +0200
commit01b9b5002fb057604855dffc9faac4903df4b8d7 (patch)
treee6fc518a8dadb3d755e4ee409becba0cd783fee8 /gst/sdi
parent2988a4ccb224f0be59e0b67ca84e88a01bcee8ec (diff)
parentcc9e4903138894963e52d52dfc22ffb23d763b9c (diff)
downloadgstreamer-plugins-bad-01b9b5002fb057604855dffc9faac4903df4b8d7.tar.gz
Merge branch 'master' into 0.11
Conflicts: common configure.ac gst/colorspace/colorspace.c gst/colorspace/colorspace.h gst/colorspace/gstcolorspace.c
Diffstat (limited to 'gst/sdi')
-rw-r--r--gst/sdi/gstsdidemux.c10
-rw-r--r--gst/sdi/gstsdimux.c4
2 files changed, 5 insertions, 9 deletions
diff --git a/gst/sdi/gstsdidemux.c b/gst/sdi/gstsdidemux.c
index 1636b5a94..36b54f0ea 100644
--- a/gst/sdi/gstsdidemux.c
+++ b/gst/sdi/gstsdidemux.c
@@ -296,7 +296,6 @@ copy_line (GstSdiDemux * sdidemux, guint8 * line)
if (sdidemux->line == format->lines) {
ret = gst_pad_push (sdidemux->srcpad, sdidemux->output_buffer);
gst_sdi_demux_get_output_buffer (sdidemux);
- output_data = GST_BUFFER_DATA (sdidemux->output_buffer);
sdidemux->line = 0;
}
@@ -318,7 +317,6 @@ gst_sdi_demux_chain (GstPad * pad, GstBuffer * buffer)
int offset = 0;
guint8 *data = GST_BUFFER_DATA (buffer);
int size = GST_BUFFER_SIZE (buffer);
- guint8 *output_data;
GstFlowReturn ret = GST_FLOW_OK;
GstSdiFormat *format;
@@ -366,8 +364,6 @@ gst_sdi_demux_chain (GstPad * pad, GstBuffer * buffer)
if (sdidemux->output_buffer == NULL) {
gst_sdi_demux_get_output_buffer (sdidemux);
}
- output_data = GST_BUFFER_DATA (sdidemux->output_buffer);
-
#if 0
if (sdidemux->offset) {
int n;
@@ -488,7 +484,7 @@ out:
static gboolean
gst_sdi_demux_sink_event (GstPad * pad, GstEvent * event)
{
- gboolean res;
+ gboolean res = TRUE;
GstSdiDemux *sdidemux;
sdidemux = GST_SDI_DEMUX (gst_pad_get_parent (pad));
@@ -514,7 +510,7 @@ gst_sdi_demux_sink_event (GstPad * pad, GstEvent * event)
}
gst_object_unref (sdidemux);
- return TRUE;
+ return res;
}
static gboolean
@@ -537,5 +533,5 @@ gst_sdi_demux_src_event (GstPad * pad, GstEvent * event)
}
gst_object_unref (sdidemux);
- return TRUE;
+ return res;
}
diff --git a/gst/sdi/gstsdimux.c b/gst/sdi/gstsdimux.c
index 779add42a..d7d490bd3 100644
--- a/gst/sdi/gstsdimux.c
+++ b/gst/sdi/gstsdimux.c
@@ -285,7 +285,7 @@ gst_sdi_mux_sink_event (GstPad * pad, GstEvent * event)
}
gst_object_unref (sdimux);
- return TRUE;
+ return res;
}
static gboolean
@@ -308,5 +308,5 @@ gst_sdi_mux_src_event (GstPad * pad, GstEvent * event)
}
gst_object_unref (sdimux);
- return TRUE;
+ return res;
}