diff options
author | Jason Tackaberry <tack@urandom.ca> | 2008-07-12 23:52:02 +0100 |
---|---|---|
committer | Jason Tackaberry <tack@urandom.ca> | 2008-07-12 23:52:02 +0100 |
commit | 49884786e3f639a89910c27bdfc96dfe0f7799b1 (patch) | |
tree | ef2f4dd1f3d4bc9b89b27f9646dd3624a09d62b1 | |
parent | 188a3a5114a5972965cb7a6aa24016b87be599f8 (diff) | |
download | xine-lib-49884786e3f639a89910c27bdfc96dfe0f7799b1.tar.gz xine-lib-49884786e3f639a89910c27bdfc96dfe0f7799b1.tar.bz2 |
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.
-rw-r--r-- | src/xine-engine/xine_interface.c | 2 |
1 files changed, 2 insertions, 0 deletions
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: |