diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-09-18 00:51:33 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-09-18 00:51:33 +0000 |
commit | db4a9292eb386fe91bbb4059c1b172e45bd32ce7 (patch) | |
tree | 85a58e93c69fa06b6304bb936c77131b957d3c5f /src/xine-engine/xine_interface.c | |
parent | 1ad10f5795d76ee8d66c642cc4165593ce6a9e39 (diff) | |
download | xine-lib-db4a9292eb386fe91bbb4059c1b172e45bd32ce7.tar.gz xine-lib-db4a9292eb386fe91bbb4059c1b172e45bd32ce7.tar.bz2 |
first steps towards implementing stream/meta info
CVS patchset: 2680
CVS date: 2002/09/18 00:51:33
Diffstat (limited to 'src/xine-engine/xine_interface.c')
-rw-r--r-- | src/xine-engine/xine_interface.c | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c index 99c9b4dfe..9f902209c 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.13 2002/09/16 15:09:36 jcdutton Exp $ + * $Id: xine_interface.c,v 1.14 2002/09/18 00:51:34 guenter Exp $ * * convenience/abstraction layer, functions to implement * libxine's public interface @@ -419,15 +419,18 @@ uint32_t xine_get_stream_info (xine_p this, int info) { return this->cur_input_plugin->get_capabilities (this->cur_input_plugin) & INPUT_CAP_CHAPTERS; return 0; - case XINE_STREAM_INFO_WIDTH: - case XINE_STREAM_INFO_HEIGHT: - case XINE_STREAM_INFO_VIDEO_FOURCC: + case XINE_STREAM_INFO_BITRATE: + case XINE_STREAM_INFO_VIDEO_WIDTH: + case XINE_STREAM_INFO_VIDEO_HEIGHT: + case XINE_STREAM_INFO_VIDEO_RATIO: case XINE_STREAM_INFO_VIDEO_CHANNELS: case XINE_STREAM_INFO_VIDEO_STREAMS: - case XINE_STREAM_INFO_AUDIO_FOURCC: + case XINE_STREAM_INFO_VIDEO_BITRATE: + case XINE_STREAM_INFO_FRAME_DURATION: case XINE_STREAM_INFO_AUDIO_CHANNELS: case XINE_STREAM_INFO_AUDIO_BITS: case XINE_STREAM_INFO_AUDIO_SAMPLERATE: + case XINE_STREAM_INFO_AUDIO_BITRATE: return this->stream_info[info]; default: |