From 0b54b0568da69801fc79516863487aed19f5761a Mon Sep 17 00:00:00 2001 From: Josep Torra Date: Fri, 30 Aug 2013 21:36:19 +0200 Subject: [PATCH] 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 --- ext/dash/gstmpdparser.c | 2 +- ext/dash/gstmpdparser.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index 071f4f5a48..955f046f0b 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 562dbec0c6..57c1d31321 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);