From 5e853c638d4e737f43a4e6d230fe9c267d4ac25b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20=27Flameeyes=27=20Petten=C3=B2?= Date: Thu, 28 Sep 2006 22:27:52 +0000 Subject: 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 --- src/demuxers/demux_shn.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') 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); -- cgit v1.2.3