summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosep Torra <n770galaxy@gmail.com>2013-08-30 21:36:19 +0200
committerJosep Torra <n770galaxy@gmail.com>2013-08-30 21:36:19 +0200
commit0b54b0568da69801fc79516863487aed19f5761a (patch)
treedc7e0de39a150e1ec824ce998683da0b6d1cda8b
parent865ad4cdad87ff088e983e5dab08d2ec33fc29f4 (diff)
downloadgstreamer-plugins-bad-0b54b0568da69801fc79516863487aed19f5761a.tar.gz
dashdemux: Fix warnings when building in OS X Snow Leopard
gstmpdparser.h:530: warning: type qualifiers ignored on function return type gstmpdparser.c:4177: warning: type qualifiers ignored on function return type
-rw-r--r--ext/dash/gstmpdparser.c2
-rw-r--r--ext/dash/gstmpdparser.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c
index 071f4f5a4..955f046f0 100644
--- a/ext/dash/gstmpdparser.c
+++ b/ext/dash/gstmpdparser.c
@@ -4172,7 +4172,7 @@ gst_mpd_client_get_stream_mimeType (GstActiveStream * stream)
return gst_mpdparser_mimetype_to_caps (mimeType);
}
-const gboolean
+gboolean
gst_mpd_client_get_bitstream_switching_flag (GstActiveStream * stream)
{
if (stream == NULL || stream->cur_adapt_set == NULL)
diff --git a/ext/dash/gstmpdparser.h b/ext/dash/gstmpdparser.h
index 562dbec0c..57c1d3132 100644
--- a/ext/dash/gstmpdparser.h
+++ b/ext/dash/gstmpdparser.h
@@ -527,7 +527,7 @@ void gst_mpd_client_set_segment_index (GstActiveStream * stream, guint segment_i
/* Get audio/video stream parameters (mimeType, width, height, rate, number of channels) */
const gchar *gst_mpd_client_get_stream_mimeType (GstActiveStream * stream);
-const gboolean gst_mpd_client_get_bitstream_switching_flag (GstActiveStream * stream);
+gboolean gst_mpd_client_get_bitstream_switching_flag (GstActiveStream * stream);
guint gst_mpd_client_get_video_stream_width (GstActiveStream * stream);
guint gst_mpd_client_get_video_stream_height (GstActiveStream * stream);
guint gst_mpd_client_get_audio_stream_rate (GstActiveStream * stream);