summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDarren Salt <linux@youmustbejoking.demon.co.uk>2010-01-17 20:32:02 +0000
committerDarren Salt <linux@youmustbejoking.demon.co.uk>2010-01-17 20:32:02 +0000
commitf13085a6f1247474374951f993b41aceef2ae94c (patch)
treeda1910e2a446a35297a574c61f3445f74c8bad6b /src
parent04ef2788ad1b74fcbc767a76662553d969c0da4d (diff)
downloadxine-lib-f13085a6f1247474374951f993b41aceef2ae94c.tar.gz
xine-lib-f13085a6f1247474374951f993b41aceef2ae94c.tar.bz2
Explicitly set audio & video presence to "not present" when demuxing playlists.
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_playlist.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/demuxers/demux_playlist.c b/src/demuxers/demux_playlist.c
index a273f0242..5fa62b606 100644
--- a/src/demuxers/demux_playlist.c
+++ b/src/demuxers/demux_playlist.c
@@ -529,6 +529,9 @@ static void demux_playlist_send_headers (demux_plugin_t *this_gen) {
this->status = DEMUX_OK;
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_HAS_VIDEO, 0);
+ _x_stream_info_set(this->stream, XINE_STREAM_INFO_HAS_AUDIO, 0);
+
_x_demux_control_start (this->stream);
this->input->seek (this->input, 0, SEEK_SET);