summaryrefslogtreecommitdiff
path: root/src/xine-engine/video_out.c
diff options
context:
space:
mode:
authorMichael Roitzsch <mroi@users.sourceforge.net>2004-06-19 20:07:15 +0000
committerMichael Roitzsch <mroi@users.sourceforge.net>2004-06-19 20:07:15 +0000
commit19fb13fb6af9cd2b84a3b85f1c4e2179e5166d4c (patch)
tree865fc4fe00606698b3aa780d0e6d09acc522693b /src/xine-engine/video_out.c
parent29c2f15be1b7644248fc5f1abfbb2f9aa402806d (diff)
downloadxine-lib-19fb13fb6af9cd2b84a3b85f1c4e2179e5166d4c.tar.gz
xine-lib-19fb13fb6af9cd2b84a3b85f1c4e2179e5166d4c.tar.bz2
modified patch from Reinhard Nissl to report the length of the out fifos
CVS patchset: 6713 CVS date: 2004/06/19 20:07:15
Diffstat (limited to 'src/xine-engine/video_out.c')
-rw-r--r--src/xine-engine/video_out.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c
index 8a9873f53..894d0200a 100644
--- a/src/xine-engine/video_out.c
+++ b/src/xine-engine/video_out.c
@@ -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.c,v 1.198 2004/06/13 21:28:57 miguelfreitas Exp $
+ * $Id: video_out.c,v 1.199 2004/06/19 20:07:15 mroi Exp $
*
* frame allocation / queuing / scheduling / output functions
*/
@@ -1243,6 +1243,10 @@ static int vo_get_property (xine_video_port_t *this_gen, int property) {
ret = this->discard_frames;
break;
+ case VO_PROP_BUFS_IN_FIFO:
+ ret = this->video_loop_running ? this->display_img_buf_queue->num_buffers : -1;
+ break;
+
/*
* handle XINE_PARAM_xxx properties (convert from driver's range)
*/