diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2002-11-02 16:22:19 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2002-11-02 16:22:19 +0000 |
commit | 077195ba78830f8a53b0c2e5c2be66807c40f196 (patch) | |
tree | 24866d32d9f68dc96937c24d1524dfc39b24e939 | |
parent | dbefde26c2d706070cd8054e925b97e1eddbfb25 (diff) | |
download | xine-lib-077195ba78830f8a53b0c2e5c2be66807c40f196.tar.gz xine-lib-077195ba78830f8a53b0c2e5c2be66807c40f196.tar.bz2 |
Disables vo_flush.
CVS patchset: 3151
CVS date: 2002/11/02 16:22:19
-rw-r--r-- | src/xine-engine/video_out.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/xine-engine/video_out.c b/src/xine-engine/video_out.c index d1446d33e..76b1960e8 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.108 2002/11/02 15:18:40 mroi Exp $ + * $Id: video_out.c,v 1.109 2002/11/02 16:22:19 tmattern Exp $ * * frame allocation / queuing / scheduling / output functions */ @@ -911,15 +911,19 @@ static void vo_enable_overlay (vo_instance_t *this_gen, int overlay_enabled) { * Flush video_out fifo */ static void vo_flush (vo_instance_t *this_gen) { + /* vos_t *this = (vos_t *) this_gen; vo_frame_t *img; int i, num_buffers; - + */ + /* FIXME: this implementation is stupid */ + /* pthread_mutex_lock (&this->display_img_buf_queue->mutex); pthread_mutex_lock (&this->free_img_buf_queue->mutex); num_buffers = this->display_img_buf_queue->num_buffers; - + */ /* don't flush the last img, it improves seeking */ + /* printf ("video_out: flush fifo (%d buffers)\n", num_buffers); for (i = 1; i < num_buffers; i++) { img = vo_remove_from_img_buf_queue_int (this->display_img_buf_queue); @@ -928,6 +932,7 @@ static void vo_flush (vo_instance_t *this_gen) { pthread_mutex_unlock (&this->free_img_buf_queue->mutex); pthread_mutex_unlock (&this->display_img_buf_queue->mutex); + */ } |