summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine_internal.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-10-28 03:24:42 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-10-28 03:24:42 +0000
commit7505ad157b1bc5b912430537e4aba444c1c23662 (patch)
treeaaa5c6d37ca43041184de561e72fef0a665b1fee /src/xine-engine/xine_internal.h
parentc98152c4db1ea9651b79d44e06567df3fa2c62ce (diff)
downloadxine-lib-7505ad157b1bc5b912430537e4aba444c1c23662.tar.gz
xine-lib-7505ad157b1bc5b912430537e4aba444c1c23662.tar.bz2
hey, i want to join xine breakage party! (what do you wanna break today? tm)
- time to cleanup demuxer mess... no more pthread stuff on any demuxer. of course i haven't tested all demuxers, but they at least compile. (sorry Mike, we will need to move a few variables around to make most of your demuxers work again - not big deal i think) - make api more consistent by providing xine_open/xine_close and xine_start/xine_stop. CVS patchset: 3058 CVS date: 2002/10/28 03:24:42
Diffstat (limited to 'src/xine-engine/xine_internal.h')
-rw-r--r--src/xine-engine/xine_internal.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/xine-engine/xine_internal.h b/src/xine-engine/xine_internal.h
index 74f0a1db2..0f7e8baec 100644
--- a/src/xine-engine/xine_internal.h
+++ b/src/xine-engine/xine_internal.h
@@ -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_internal.h,v 1.107 2002/10/27 01:52:15 guenter Exp $
+ * $Id: xine_internal.h,v 1.108 2002/10/28 03:24:44 miguelfreitas Exp $
*
*/
@@ -201,6 +201,11 @@ struct xine_stream_s {
/* event mechanism */
xine_list_t *event_queues;
pthread_mutex_t event_queues_lock;
+
+ /* demux thread stuff */
+ pthread_t demux_thread;
+ int demux_thread_running;
+ pthread_mutex_t demux_lock;
int err;
};
@@ -238,6 +243,8 @@ void xine_demux_control_newpts (xine_stream_t *stream, int64_t pts, uint32
void xine_demux_control_headers_done (xine_stream_t *stream);
void xine_demux_control_start (xine_stream_t *stream);
void xine_demux_control_end (xine_stream_t *stream, uint32_t flags);
+int xine_demux_start_thread (xine_stream_t *stream);
+int xine_demux_stop_thread (xine_stream_t *stream);
/*
* plugin_loader functions