diff options
author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-05-08 17:53:49 +0100 |
---|---|---|
committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-05-08 17:53:49 +0100 |
commit | a1a9eda93b9896d09bf2807842da0a156524cc3d (patch) | |
tree | 814ea85c4250f1c1c95e6d6f805072796df4bfbb /src/xine-engine/xine_internal.h | |
parent | 92d72104e3cd37e7470a41a65b230297592f1331 (diff) | |
parent | 52acd4f6bf724a4ad8efc30adae0547049f7a298 (diff) | |
download | xine-lib-a1a9eda93b9896d09bf2807842da0a156524cc3d.tar.gz xine-lib-a1a9eda93b9896d09bf2807842da0a156524cc3d.tar.bz2 |
Merge Reinhard Nissl's engine changes.
Diffstat (limited to 'src/xine-engine/xine_internal.h')
-rw-r--r-- | src/xine-engine/xine_internal.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/xine-engine/xine_internal.h b/src/xine-engine/xine_internal.h index dfce36cae..6db64eab8 100644 --- a/src/xine-engine/xine_internal.h +++ b/src/xine-engine/xine_internal.h @@ -170,6 +170,9 @@ struct xine_ticket_s { * be used in combination with acquire_nonblocking() */ void (*release_nonblocking)(xine_ticket_t *self, int irrevocable); + int (*lock_port_rewiring)(xine_ticket_t *self, int ms_timeout); + void (*unlock_port_rewiring)(xine_ticket_t *self); + void (*dispose)(xine_ticket_t *self); pthread_mutex_t lock; @@ -181,6 +184,7 @@ struct xine_ticket_s { int pending_revocations; int atomic_revoke; pthread_t atomic_revoker_thread; + pthread_mutex_t port_rewiring_lock; #endif }; @@ -370,6 +374,11 @@ struct xine_stream_s { */ 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; +int _x_lock_port_rewiring(xine_t *xine, int ms_to_time_out) XINE_PROTECTED; +void _x_unlock_port_rewiring(xine_t *xine) XINE_PROTECTED; +int _x_lock_frontend(xine_stream_t *stream, int ms_to_time_out) XINE_PROTECTED; +void _x_unlock_frontend(xine_stream_t *stream) XINE_PROTECTED; +int _x_query_unprocessed_osd_events(xine_stream_t *stream) XINE_PROTECTED; void _x_handle_stream_end (xine_stream_t *stream, int non_user) XINE_PROTECTED; |