diff options
author | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-09-28 22:27:52 +0000 |
---|---|---|
committer | Diego 'Flameeyes' Pettenò <flameeyes@gmail.com> | 2006-09-28 22:27:52 +0000 |
commit | 5e853c638d4e737f43a4e6d230fe9c267d4ac25b (patch) | |
tree | 057ba7fd43d8a588781cc0e195432fe3edd8da5e /src | |
parent | a7c83e21542eef9aa501c077dff6273d44c76fcb (diff) | |
download | xine-lib-5e853c638d4e737f43a4e6d230fe9c267d4ac25b.tar.gz xine-lib-5e853c638d4e737f43a4e6d230fe9c267d4ac25b.tar.bz2 |
Make sure that the demuxer reports an audio stream (and no video stream) so that Amarok can actually play SHN files.
CVS patchset: 8318
CVS date: 2006/09/28 22:27:52
Diffstat (limited to 'src')
-rw-r--r-- | src/demuxers/demux_shn.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/demuxers/demux_shn.c b/src/demuxers/demux_shn.c index 09bbaa9aa..8e3602634 100644 --- a/src/demuxers/demux_shn.c +++ b/src/demuxers/demux_shn.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: demux_shn.c,v 1.1 2005/05/29 19:21:24 jstembridge Exp $ + * $Id: demux_shn.c,v 1.2 2006/09/28 22:27:52 dgp85 Exp $ */ #ifdef HAVE_CONFIG_H @@ -114,6 +114,9 @@ static void demux_shn_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, 1); + /* send start buffers */ _x_demux_control_start(this->stream); |