From: <to...@us...> - 2005-06-09 21:06:11
|
Update of /cvsroot/xine/xine-lib/src/video_out In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21741/src/video_out Modified Files: video_out_xxmc.c Log Message: **BUGFIX** Fix bug in xxmc plugin, which only checked the requested format from the decoder plugin when the flag VO_NEW_SEQUENCE was set. This flag wasn't set often enough. Index: video_out_xxmc.c =================================================================== RCS file: /cvsroot/xine/xine-lib/src/video_out/video_out_xxmc.c,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- video_out_xxmc.c 6 May 2005 07:42:21 -0000 1.16 +++ video_out_xxmc.c 9 Jun 2005 21:06:02 -0000 1.17 @@ -1221,16 +1221,14 @@ xine_xxmc_t *xxmc = &frame->xxmc_data; xvmc_context_writer_lock( &this->xvmc_lock); - if ( flags & VO_NEW_SEQUENCE_FLAG ) { - if (xxmc_accel_update(this, this->last_accel_request, xxmc->acceleration) || - (this->xvmc_mpeg != xxmc->mpeg) || - (this->xvmc_width != width) || - (this->xvmc_height != height)) { - this->last_accel_request = xxmc->acceleration; - xxmc_xvmc_update_context(this, frame, width, height); - } else { - this->last_accel_request = xxmc->acceleration; - } + if (xxmc_accel_update(this, this->last_accel_request, xxmc->acceleration) || + (this->xvmc_mpeg != xxmc->mpeg) || + (this->xvmc_width != width) || + (this->xvmc_height != height)) { + this->last_accel_request = xxmc->acceleration; + xxmc_xvmc_update_context(this, frame, width, height); + } else { + this->last_accel_request = xxmc->acceleration; } if (this->contextActive) |