From 218a89fcd9bd661b8976d9993bb02a2a5b223782 Mon Sep 17 00:00:00 2001 From: Yujin Lee Date: Fri, 10 Apr 2015 09:34:01 +0900 Subject: 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 --- ext/dash/gstdashdemux.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext') diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index 16c548854..e2d5dc73d 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -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); -- cgit v1.2.1