From e15e6e8d897798fc20041e032b0a30d7374953e0 Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Wed, 30 May 2001 02:09:24 +0000 Subject: Fixed demux* get current position calls. Fixed stdin/fifo input plugin, new mrl style: fifo://[mpeg1|mpeg2]/location Fixed dvd input plugin. xine core, update cur_input_pos position. call the gui status callback now. CVS patchset: 102 CVS date: 2001/05/30 02:09:24 --- src/xine-engine/video_decoder.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/xine-engine/video_decoder.c') diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c index 543d6f20f..fd7dc9220 100644 --- a/src/xine-engine/video_decoder.c +++ b/src/xine-engine/video_decoder.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_decoder.c,v 1.14 2001/05/24 23:15:40 f1rmb Exp $ + * $Id: video_decoder.c,v 1.15 2001/05/30 02:09:24 f1rmb Exp $ * */ @@ -38,9 +38,11 @@ void *video_decoder_loop (void *this_gen) { while (running) { buf = this->video_fifo->get (this->video_fifo); + this->cur_input_pos = buf->input_pos; - /* gVD.mnCurInputPos = pBuf->nInputPos; */ - + if(this->status == XINE_PLAY) + this->status_callback (this->status); + switch (buf->type) { case BUF_CONTROL_START: -- cgit v1.2.3