diff options
author | Reinhard Nißl <rnissl@gmx.de> | 2007-07-26 22:03:33 +0200 |
---|---|---|
committer | Reinhard Nißl <rnissl@gmx.de> | 2007-07-26 22:03:33 +0200 |
commit | 3f6141b03a62e3bc33306d3a0abe763e833a50ea (patch) | |
tree | 44d5a292af3cc0cb4654d55e9de738f38c381624 | |
parent | f43e6be30fcd0879cb5d1d43e73254950ef6a68c (diff) | |
download | xine-lib-3f6141b03a62e3bc33306d3a0abe763e833a50ea.tar.gz xine-lib-3f6141b03a62e3bc33306d3a0abe763e833a50ea.tar.bz2 |
report unsupported frame format and abort
(transplanted from 65ffd061414c05cbc368e130d1783a2efdc5b75e)
--HG--
extra : transplant_source : e%FF%D0aAL%05%CB%C3h%E10%D1x%3A.%FD%C5%B7%5E
-rw-r--r-- | src/video_out/video_out_xvmc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/video_out/video_out_xvmc.c b/src/video_out/video_out_xvmc.c index d943c61b4..c4d76c1fe 100644 --- a/src/video_out/video_out_xvmc.c +++ b/src/video_out/video_out_xvmc.c @@ -764,6 +764,11 @@ static void xvmc_update_frame_format (vo_driver_t *this_gen, xvmc_frame_t *frame = (xvmc_frame_t *) frame_gen; xine_xvmc_t *xvmc = (xine_xvmc_t *) frame_gen->accel_data; + if (format != XINE_IMGFMT_XVMC) { + xprintf (this->xine, XINE_VERBOSITY_LOG, "xvmc_update_frame_format: frame format %08x not supported\n", format); + _x_abort(); + } + lprintf ("xvmc_update_frame_format\n"); if ((frame->width != width) |