From c79dba5d012f5f8416c189e76a4b8b9a55c729da Mon Sep 17 00:00:00 2001 From: Ewald Snel Date: Sat, 14 Dec 2002 18:34:57 +0000 Subject: Add number of audio and subtitle channels stream information CVS patchset: 3521 CVS date: 2002/12/14 18:34:57 --- src/xine-engine/xine_interface.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c index 30656917b..39817b8c9 100644 --- a/src/xine-engine/xine_interface.c +++ b/src/xine-engine/xine_interface.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: xine_interface.c,v 1.33 2002/12/12 01:58:37 tmmm Exp $ + * $Id: xine_interface.c,v 1.34 2002/12/14 18:34:57 esnel Exp $ * * convenience/abstraction layer, functions to implement * libxine's public interface @@ -509,6 +509,14 @@ uint32_t xine_get_stream_info (xine_stream_t *stream, int info) { case XINE_STREAM_INFO_VIDEO_HAS_STILL: return stream->stream_info[info]; +/* TODO: + case XINE_STREAM_INFO_MAX_SPU_CHANNEL: + return 0; +*/ + + case XINE_STREAM_INFO_MAX_AUDIO_CHANNEL: + return stream->audio_track_map_entries; + default: printf ("xine_interface: error, unknown stream info (%d) requested\n", info); -- cgit v1.2.3