diff options
author | Ewald Snel <esnel@users.sourceforge.net> | 2002-12-14 18:34:57 +0000 |
---|---|---|
committer | Ewald Snel <esnel@users.sourceforge.net> | 2002-12-14 18:34:57 +0000 |
commit | c79dba5d012f5f8416c189e76a4b8b9a55c729da (patch) | |
tree | b10794f2755e6c1eba4c272271e65bf397bb8733 /src | |
parent | 8586fc1ea8c8734a515439dd3f6894f843bf7bc2 (diff) | |
download | xine-lib-c79dba5d012f5f8416c189e76a4b8b9a55c729da.tar.gz xine-lib-c79dba5d012f5f8416c189e76a4b8b9a55c729da.tar.bz2 |
Add number of audio and subtitle channels stream information
CVS patchset: 3521
CVS date: 2002/12/14 18:34:57
Diffstat (limited to 'src')
-rw-r--r-- | src/xine-engine/xine_interface.c | 10 |
1 files changed, 9 insertions, 1 deletions
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); |