summaryrefslogtreecommitdiff
path: root/gst/mpegdemux
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2011-06-04 20:35:03 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2011-06-04 20:35:03 +0100
commit0777b678f5c49bc50895daecaa6af70073398688 (patch)
tree7cc503c5a1fcb750371bd255205ec6f1f2b9e09c /gst/mpegdemux
parent335293bf50e74fd9a4053d7441b301aafd0428c5 (diff)
gst: some more unused-but-set-variable warning fixes
Diffstat (limited to 'gst/mpegdemux')
-rw-r--r--gst/mpegdemux/gstmpegtsdemux.c6
-rw-r--r--gst/mpegdemux/gstpesfilter.c2
-rw-r--r--gst/mpegdemux/mpegtspacketizer.c3
3 files changed, 6 insertions, 5 deletions
diff --git a/gst/mpegdemux/gstmpegtsdemux.c b/gst/mpegdemux/gstmpegtsdemux.c
index 2c5c6cc1e..986914d0c 100644
--- a/gst/mpegdemux/gstmpegtsdemux.c
+++ b/gst/mpegdemux/gstmpegtsdemux.c
@@ -2253,11 +2253,11 @@ gst_mpegts_demux_parse_stream (GstMpegTSDemux * demux, GstMpegTSStream * stream,
const guint8 * in_data, guint in_size)
{
GstFlowReturn ret;
- gboolean transport_error_indicator;
+ gboolean transport_error_indicator G_GNUC_UNUSED;
+ gboolean transport_priority G_GNUC_UNUSED;
gboolean payload_unit_start_indicator;
- gboolean transport_priority;
guint16 PID;
- guint8 transport_scrambling_control;
+ guint8 transport_scrambling_control G_GNUC_UNUSED;
guint8 adaptation_field_control;
guint8 continuity_counter;
const guint8 *data = in_data;
diff --git a/gst/mpegdemux/gstpesfilter.c b/gst/mpegdemux/gstpesfilter.c
index 736d4960b..18d503608 100644
--- a/gst/mpegdemux/gstpesfilter.c
+++ b/gst/mpegdemux/gstpesfilter.c
@@ -112,7 +112,7 @@ gst_pes_filter_parse (GstPESFilter * filter)
GstFlowReturn ret;
guint32 start_code;
- gboolean STD_buffer_bound_scale;
+ gboolean STD_buffer_bound_scale G_GNUC_UNUSED;
guint16 STD_buffer_size_bound;
const guint8 *data;
gint avail, datalen;
diff --git a/gst/mpegdemux/mpegtspacketizer.c b/gst/mpegdemux/mpegtspacketizer.c
index 335c98508..94ffd9472 100644
--- a/gst/mpegdemux/mpegtspacketizer.c
+++ b/gst/mpegdemux/mpegtspacketizer.c
@@ -356,7 +356,8 @@ mpegts_packetizer_parse_descriptors (MpegTSPacketizer * packetizer,
/* include tag and length */
desc = g_string_new_len ((gchar *) data - 2, length + 2);
data += length;
- /* G_TYPE_GSTING is a GBoxed type and is used so properly marshalled from python */
+ /* G_TYPE_GSTRING is a GBoxed type and is used so properly marshalled from
+ * python (FIXME: should either be G_TYPE_STRING or GST_TYPE_BUFFFER) */
g_value_init (&value, G_TYPE_GSTRING);
g_value_take_boxed (&value, desc);
g_value_array_append (descriptors, &value);