From 49884786e3f639a89910c27bdfc96dfe0f7799b1 Mon Sep 17 00:00:00 2001 From: Jason Tackaberry Date: Sat, 12 Jul 2008 23:52:02 +0100 Subject: xine_get_stream_info() not returning values for skipped/discarded frames When passing XINE_STREAM_INFO_SKIPPED_FRAMES or XINE_STREAM_INFO_DISCARDED_FRAMES to xine_get_stream_info(), the return value is always 0, even if there are skipped or discarded frames. --- src/xine-engine/xine_interface.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c index 415ceec56..d1d5a18d9 100644 --- a/src/xine-engine/xine_interface.c +++ b/src/xine-engine/xine_interface.c @@ -739,6 +739,8 @@ uint32_t xine_get_stream_info (xine_stream_t *stream, int info) { case XINE_STREAM_INFO_IGNORE_AUDIO: case XINE_STREAM_INFO_IGNORE_SPU: case XINE_STREAM_INFO_VIDEO_HAS_STILL: + case XINE_STREAM_INFO_SKIPPED_FRAMES: + case XINE_STREAM_INFO_DISCARDED_FRAMES: case XINE_STREAM_INFO_VIDEO_AFD: case XINE_STREAM_INFO_DVD_TITLE_NUMBER: case XINE_STREAM_INFO_DVD_TITLE_COUNT: -- cgit v1.2.3