diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-07-14 20:55:17 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2002-07-14 20:55:17 +0000 |
commit | 43926fa28a72a0593f97b9e5718172ce26f27612 (patch) | |
tree | 325d7b79b1eb57df6832486838e7b5f752ad471c /src/xine-engine/video_decoder.c | |
parent | 7606bfa52694101c02009db4d10f44954877b4e9 (diff) | |
download | xine-lib-43926fa28a72a0593f97b9e5718172ce26f27612.tar.gz xine-lib-43926fa28a72a0593f97b9e5718172ce26f27612.tar.bz2 |
some fixes to osd displaying (show the right time after seeks)
CVS patchset: 2264
CVS date: 2002/07/14 20:55:17
Diffstat (limited to 'src/xine-engine/video_decoder.c')
-rw-r--r-- | src/xine-engine/video_decoder.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/xine-engine/video_decoder.c b/src/xine-engine/video_decoder.c index d570b1af0..bd62be3d2 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.91 2002/07/05 15:08:58 mroi Exp $ + * $Id: video_decoder.c,v 1.92 2002/07/14 20:55:17 miguelfreitas Exp $ * */ @@ -83,9 +83,14 @@ void *video_decoder_loop (void *this_gen) { this->cur_input_pos = buf->input_pos; if (buf->input_length) this->cur_input_length = buf->input_length; - if (buf->input_time) + if (buf->input_time) { this->cur_input_time = buf->input_time; - + pthread_mutex_lock (&this->osd_lock); + if( this->curtime_needed_for_osd && !(--this->curtime_needed_for_osd) ) + xine_internal_osd (this, ">",90000); + pthread_mutex_unlock (&this->osd_lock); + } + #ifdef VIDEO_DECODER_LOG printf ("video_decoder: got buffer 0x%08x\n", buf->type); #endif |