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 | 19f98a1b94d84aefbacb9a403d9dfc1c138fef7c (patch) | |
tree | 1511a99ebabde903a7437ec14becee22f6bac08a | |
parent | f020aeeb15de8aad5006e0f0316af3d43922f806 (diff) | |
download | xine-lib-19f98a1b94d84aefbacb9a403d9dfc1c138fef7c.tar.gz xine-lib-19f98a1b94d84aefbacb9a403d9dfc1c138fef7c.tar.bz2 |
report unsupported frame format and abort
--HG--
extra : transplant_source : IsD%AB%2Ci%A1%0F%AE%21%16eg%F2%98%D5%DD%87%DE%3F
-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 8773c3dd2..fefff90f3 100644 --- a/src/video_out/video_out_xvmc.c +++ b/src/video_out/video_out_xvmc.c @@ -758,6 +758,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) |