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
This commit is contained in:
Josep Torra 2013-08-30 21:36:19 +02:00
parent 865ad4cdad
commit 0b54b0568d
2 changed files with 2 additions and 2 deletions

View file

@ -4172,7 +4172,7 @@ gst_mpd_client_get_stream_mimeType (GstActiveStream * stream)
return gst_mpdparser_mimetype_to_caps (mimeType); return gst_mpdparser_mimetype_to_caps (mimeType);
} }
const gboolean gboolean
gst_mpd_client_get_bitstream_switching_flag (GstActiveStream * stream) gst_mpd_client_get_bitstream_switching_flag (GstActiveStream * stream)
{ {
if (stream == NULL || stream->cur_adapt_set == NULL) if (stream == NULL || stream->cur_adapt_set == NULL)

View file

@ -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) */ /* Get audio/video stream parameters (mimeType, width, height, rate, number of channels) */
const gchar *gst_mpd_client_get_stream_mimeType (GstActiveStream * stream); 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_width (GstActiveStream * stream);
guint gst_mpd_client_get_video_stream_height (GstActiveStream * stream); guint gst_mpd_client_get_video_stream_height (GstActiveStream * stream);
guint gst_mpd_client_get_audio_stream_rate (GstActiveStream * stream); guint gst_mpd_client_get_audio_stream_rate (GstActiveStream * stream);