summaryrefslogtreecommitdiff
path: root/src/xine-engine/xine_internal.h
diff options
context:
space:
mode:
authorThibaut Mattern <tmattern@users.sourceforge.net>2004-10-14 23:25:24 +0000
committerThibaut Mattern <tmattern@users.sourceforge.net>2004-10-14 23:25:24 +0000
commit0afc766174a39031fa27686bba32e28dd87af09c (patch)
treea08f81e534bf1550f66dce996180ac9cfd5ed573 /src/xine-engine/xine_internal.h
parent54ef2ac454dab005c5a6a808b2c5bbcdfe544b8f (diff)
downloadxine-lib-0afc766174a39031fa27686bba32e28dd87af09c.tar.gz
xine-lib-0afc766174a39031fa27686bba32e28dd87af09c.tar.bz2
Implemented stream_t reference counter idea.
See these two threads: http://thread.gmane.org/gmane.comp.video.xine.devel/10819 http://thread.gmane.org/gmane.comp.video.xine.devel/10424 Fixed _x_handle_stream_end __stop_internal race. See this thread: http://thread.gmane.org/gmane.comp.video.xine.devel/10818 If the lib is broken after this patch, you know who to blame ;-) CVS patchset: 7036 CVS date: 2004/10/14 23:25:24
Diffstat (limited to 'src/xine-engine/xine_internal.h')
-rw-r--r--src/xine-engine/xine_internal.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xine-engine/xine_internal.h b/src/xine-engine/xine_internal.h
index 488df397b..2cdf53a2c 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.160 2004/09/26 22:54:52 valtri Exp $
+ * $Id: xine_internal.h,v 1.161 2004/10/14 23:25:24 tmattern Exp $
*
*/
@@ -34,6 +34,7 @@ extern "C" {
#ifdef XINE_COMPILE
# include "xine.h"
+# include "refcounter.h"
# include "input/input_plugin.h"
# include "demuxers/demux.h"
# include "video_out.h"
@@ -51,6 +52,7 @@ extern "C" {
# include "info_helper.h"
#else
# include <xine.h>
+# include <xine/refcounter.h>
# include <xine/input_plugin.h>
# include <xine/demux.h>
# include <xine/video_out.h>
@@ -322,6 +324,8 @@ struct xine_stream_s {
int err;
broadcaster_t *broadcaster;
+
+ refcounter_t *refcounter;
#endif
};