From: Thibaut M. <tma...@us...> - 2002-06-19 23:42:53
|
Update of /cvsroot/xine/xine-lib/src/xine-engine In directory usw-pr-cvs1:/tmp/cvs-serv29221 Modified Files: video_decoder.c Log Message: Handle the new flag BUF_FLAG_SEEK. Index: video_decoder.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/xine-engine/video_decoder.c,v retrieving revision 1.89 retrieving revision 1.90 diff -u -r1.89 -r1.90 --- video_decoder.c 10 Jun 2002 13:41:55 -0000 1.89 +++ video_decoder.c 19 Jun 2002 23:42:50 -0000 1.90 @@ -212,11 +212,15 @@ this->video_in_discontinuity = 1; - this->metronom->handle_video_discontinuity (this->metronom, DISC_ABSOLUTE, buf->disc_off); - + if (buf->decoder_flags && BUF_FLAG_SEEK) { + this->metronom->handle_video_discontinuity (this->metronom, DISC_STREAMSEEK, buf->disc_off); + } else { + this->metronom->handle_video_discontinuity (this->metronom, DISC_ABSOLUTE, buf->disc_off); + } + this->video_in_discontinuity = 0; break; - + case BUF_CONTROL_AUDIO_CHANNEL: { xine_ui_event_t ui_event; |