summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.h
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-07-06 22:53:22 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-07-06 22:53:22 +0000
commit40aab85f00b16aedeb638bd4ff7693d908ad5d60 (patch)
treed32ac09a4fe0ec1092ed575dcc38e1572f6c4e42 /src/xine-engine/video_out.h
parent4bf855750a173f0c002a231cc6307c47719867d1 (diff)
downloadxine-lib-40aab85f00b16aedeb638bd4ff7693d908ad5d60.tar.gz
xine-lib-40aab85f00b16aedeb638bd4ff7693d908ad5d60.tar.bz2
fix a long standing bug: streams were not played till their very end, because
finished event was sent to frontend before the output fifos were empty. add a test for the number of streams attached to the output port. this will prevent deadlocking on multi-streams scenarios where fifos don't ever get empty. CVS patchset: 6777 CVS date: 2004/07/06 22:53:22
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r--src/xine-engine/video_out.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h
index fa64344c0..fa4600c5d 100644
--- a/src/xine-engine/video_out.h
+++ b/src/xine-engine/video_out.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: video_out.h,v 1.107 2004/06/19 20:07:15 mroi Exp $
+ * $Id: video_out.h,v 1.108 2004/07/06 22:53:23 miguelfreitas Exp $
*
*
* xine version of video_out.h
@@ -261,7 +261,8 @@ struct xine_video_port_s {
#define VO_PROP_WINDOW_WIDTH 15 /* read-only */
#define VO_PROP_WINDOW_HEIGHT 16 /* read-only */
#define VO_PROP_BUFS_IN_FIFO 17 /* read-only */
-#define VO_NUM_PROPERTIES 18
+#define VO_PROP_NUM_STREAMS 18 /* read-only */
+#define VO_NUM_PROPERTIES 19
/* number of colors in the overlay palette. Currently limited to 256
at most, because some alphablend functions use an 8-bit index into