diff options
author | Reinhard Nißl <rnissl@gmx.de> | 2007-04-12 22:33:26 +0200 |
---|---|---|
committer | Reinhard Nißl <rnissl@gmx.de> | 2007-04-12 22:33:26 +0200 |
commit | bd88a5c94af0af727680606a22ec9414fba68366 (patch) | |
tree | 2055855d7a19c531c9928397997aaa910266111f /src/xine-engine/xine_internal.h | |
parent | b4304f243c6006eec3ca4b4ce2b19cfca703861a (diff) | |
download | xine-lib-bd88a5c94af0af727680606a22ec9414fba68366.tar.gz xine-lib-bd88a5c94af0af727680606a22ec9414fba68366.tar.bz2 |
Provide a function to query buffer usage.
This function shall be used to poll the number of remaining frames
from a certain point in time on until the reported numbers are all
0. At that point in time, the content on screen is identical to a
certain state of the stream, at which for example, a hardcopy may
be taken.
Diffstat (limited to 'src/xine-engine/xine_internal.h')
-rw-r--r-- | src/xine-engine/xine_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xine-engine/xine_internal.h b/src/xine-engine/xine_internal.h index da6f88a7f..c88bcc904 100644 --- a/src/xine-engine/xine_internal.h +++ b/src/xine-engine/xine_internal.h @@ -366,6 +366,8 @@ struct xine_stream_s { * private function prototypes: */ +int _x_query_buffer_usage(xine_stream_t *stream, int *num_video_buffers, int *num_audio_buffers, int *num_video_frames, int *num_audio_frames) XINE_PROTECTED; + void _x_handle_stream_end (xine_stream_t *stream, int non_user) XINE_PROTECTED; /* report message to UI. usually these are async errors */ |