diff options
author | Yujin Lee <saddopop@gmail.com> | 2015-04-10 09:34:01 +0900 |
---|---|---|
committer | Thiago Santos <thiagoss@osg.samsung.com> | 2015-04-13 09:24:53 -0300 |
commit | 218a89fcd9bd661b8976d9993bb02a2a5b223782 (patch) | |
tree | 719f59e8428648c27d616cdaac7f7010bc7b3891 /ext | |
parent | 91853015b71b20aac9f91b096c1e0ac114988744 (diff) | |
download | gstreamer-plugins-bad-218a89fcd9bd661b8976d9993bb02a2a5b223782.tar.gz |
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
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dash/gstdashdemux.c | 3 |
1 files changed, 3 insertions, 0 deletions
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); |