summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Hellström <totte67@users.sourceforge.net>2005-06-09 21:06:02 +0000
committerThomas Hellström <totte67@users.sourceforge.net>2005-06-09 21:06:02 +0000
commit2b07f18b7ef2b7f074b3c2f3931201660f7f1f9f (patch)
tree43cf2b2b5e44e1e96c94a6d7390df3ec7b0b57cf /src
parent77bca3e6896c297f036d78786a7f49d95cf269e6 (diff)
downloadxine-lib-2b07f18b7ef2b7f074b3c2f3931201660f7f1f9f.tar.gz
xine-lib-2b07f18b7ef2b7f074b3c2f3931201660f7f1f9f.tar.bz2
**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. CVS patchset: 7619 CVS date: 2005/06/09 21:06:02
Diffstat (limited to 'src')
-rw-r--r--src/video_out/video_out_xxmc.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/video_out/video_out_xxmc.c b/src/video_out/video_out_xxmc.c
index ffdba63d9..fd2ba9911 100644
--- a/src/video_out/video_out_xxmc.c
+++ b/src/video_out/video_out_xxmc.c
@@ -18,7 +18,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_xxmc.c,v 1.16 2005/05/06 07:42:21 totte67 Exp $
+ * $Id: video_out_xxmc.c,v 1.17 2005/06/09 21:06:02 totte67 Exp $
*
* video_out_xxmc.c, X11 decoding accelerated video extension interface for xine
*
@@ -1221,16 +1221,14 @@ static void xxmc_do_update_frame(vo_driver_t *this_gen,
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)