1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 17:42:17 +00:00
mpv/video
dequis d941a57bd3 vo_xv: Handle incorrect size returned by Xv(Shm)CreateImage
Fixes #320 (which is closed as 'not our problem' but eh)

Relevant xorg bug: https://bugs.freedesktop.org/show_bug.cgi?id=70931

For me this happened when (accidentally) trying to play a 8460x2812 jpg
file with mpv. Like the referenced bug, xvinfo reports "maximum XvImage
size: 8192 x 8192". So the returned XvImage is 8192x2812 and memory
corruption happens.

Only after handling this BadShmSeg X11 errors are shown.
2016-05-24 10:25:39 +02:00
..
decode d3d: simplify DLL loading 2016-05-17 11:59:54 +02:00
filter vf_crop: support opaque hardware decoding formats 2016-05-19 22:56:11 +02:00
out vo_xv: Handle incorrect size returned by Xv(Shm)CreateImage 2016-05-24 10:25:39 +02:00
csputils.c csputils: add AVCOL_TRC_SMPTEST2084 support 2016-05-16 13:59:57 +02:00
csputils.h vo_opengl: implement HDR (SMPTE ST2084) 2016-05-16 02:45:39 +02:00
fmt-conversion.c build: merge d3d11va and dxva2 hwaccel checks 2016-05-11 15:40:31 +02:00
fmt-conversion.h
gpu_memcpy.c video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
gpu_memcpy.h video: refactor GPU memcpy usage 2015-09-25 19:18:16 +02:00
hwdec.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
hwdec.h video: add --hwdec=auto-copy mode 2016-05-11 16:20:13 +02:00
image_writer.c image_writer: take care of prediction_method deprecation 2016-02-09 13:24:04 +01:00
image_writer.h
img_format.c vo_opengl: refactor pass_read_video and texture binding 2016-03-05 13:08:38 +01:00
img_format.h video: add IMGFMT_P010 alias 2016-04-29 22:38:54 +02:00
img_fourcc.h
mp_image_pool.c mp_image_pool: add mp_image_pool_add 2016-02-16 12:36:50 -08:00
mp_image_pool.h mp_image_pool: add mp_image_pool_add 2016-02-16 12:36:50 -08:00
mp_image.c mp_image: allow passing NULL to mp_image_new_custom_ref() 2016-04-25 11:28:49 +02:00
mp_image.h mp_image: make mp_image_copy_fields_* private 2016-04-15 15:48:02 +02:00
sws_utils.c Relicense some non-MPlayer source files to LGPL 2.1 or later 2016-01-19 18:36:06 +01:00
sws_utils.h
vaapi.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vaapi.h vaapi: determine surface format in decoder, not in renderer 2016-04-11 22:03:26 +02:00
vdpau_functions.inc
vdpau_mixer.c vo_opengl: vdpau: fix certain cases of preemption recovery failures 2016-05-03 13:56:11 +02:00
vdpau_mixer.h vo_opengl: vdpau: fix certain cases of preemption recovery failures 2016-05-03 13:56:11 +02:00
vdpau.c video: refactor how VO exports hwdec device handles 2016-05-09 20:03:22 +02:00
vdpau.h vdpau: force driver to report preemption early 2016-01-25 16:45:18 +01:00