dashdemux: enable playback of content with text streams

There is a playback error when trying to play a content that
has 'application' mimeType. This commit prevents an exception from
setup text streams.

https://bugzilla.gnome.org/show_bug.cgi?id=747525
This commit is contained in:
Yujin Lee 2015-04-10 09:34:01 +09:00 committed by Thiago Santos
parent 91853015b7
commit 218a89fcd9

View file

@ -484,6 +484,9 @@ gst_dash_demux_setup_all_streams (GstDashDemux * demux)
active_stream = gst_mpdparser_get_active_stream_by_index (demux->client, i);
if (active_stream == NULL)
continue;
/* TODO: support 'application' mimeType */
if (active_stream->mimeType == GST_STREAM_APPLICATION)
continue;
srcpad = gst_dash_demux_create_pad (demux, active_stream);
caps = gst_dash_demux_get_input_caps (demux, active_stream);