0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 03:52:22 +02:00
mpv/video
wm4 0e1491346e vo_vdpau, vo_opengl: handle vdpau preemption differently
Use the newly provided mp_vdpau_handle_preemption() function, instead of
accessing mp_vdpau_ctx fields directly. Will probably make multithreaded
access to the vdpau context easier.

Mostly unrelated to the actual changes, I've noticed that using hw
decoding with vo_opengl sometimes leads to segfaults inside of nvidia's
libGL when doing the following:

1. use hw decoding + vo_opengl
2. switch to console (will preempt on nvidia systems)
3. switch back to X (mpv will recover, switches to sw decoding)
4. enable hw decoding again
5. exit mpv

Then it segfaults when mpv finally calls exit(). I'll just blame nvidia,
although it seems likely that something in the gl_hwdec_vdpau.c
preemption handling triggers corner cases in nvidia's code.
2014-05-10 10:44:16 +02:00
..
decode vdpau: handle display preemption during decoding 2014-05-10 10:44:16 +02:00
filter vf: print for which filter initialization failed 2014-05-04 16:07:43 +02:00
out vo_vdpau, vo_opengl: handle vdpau preemption differently 2014-05-10 10:44:16 +02:00
csputils.c csputils: provide string descriptions of chroma locations 2014-02-16 03:51:02 +01:00
csputils.h csputils: provide string descriptions of chroma locations 2014-02-16 03:51:02 +01:00
fmt-conversion.c video: fix FFmpeg or Libav being a special snowflake 2014-03-16 16:23:12 +01:00
fmt-conversion.h Take care of some libavutil deprecations, drop support for FFmpeg 1.0 2013-11-29 17:39:57 +01:00
hwdec.h video: move struct mp_hwdec_info into its own header file 2013-11-23 21:26:31 +01:00
image_writer.c video: remove redundant mp_image display_w/_h members 2014-04-29 13:31:59 +02:00
image_writer.h image_writer: mp_msg conversions 2013-12-21 20:50:10 +01:00
img_format.c video: change image format names, prefer mostly FFmpeg names 2014-04-14 20:51:27 +02:00
img_format.h video: change image format names, prefer mostly FFmpeg names 2014-04-14 20:51:27 +02:00
img_fourcc.h
memcpy_pic.h
mp_image_pool.c mp_image_pool: add features needed for use with hwaccel 2014-03-17 18:21:29 +01:00
mp_image_pool.h mp_image_pool: add features needed for use with hwaccel 2014-03-17 18:21:29 +01:00
mp_image.c video: fix screenshots with anamorphic video 2014-05-02 01:08:05 +02:00
mp_image.h video: remove redundant mp_image display_w/_h members 2014-04-29 13:31:59 +02:00
sws_utils.c sws_utils: remove custom GBRP conversion 2014-04-10 00:07:25 +02:00
sws_utils.h sws_utils: mp_msg conversions 2013-12-21 20:50:10 +01:00
vaapi.c vaapi: solve potential problem with ambiguous image formats 2014-03-17 18:23:24 +01:00
vaapi.h vaapi: make struct va_surface private 2014-03-17 18:22:35 +01:00
vdpau_functions.inc
vdpau_mixer.c vdpau_mixer: allow overriding frame opts 2014-05-02 01:08:04 +02:00
vdpau_mixer.h vdpau_mixer: allow overriding frame opts 2014-05-02 01:08:04 +02:00
vdpau.c vo_vdpau, vo_opengl: handle vdpau preemption differently 2014-05-10 10:44:16 +02:00
vdpau.h vo_vdpau, vo_opengl: handle vdpau preemption differently 2014-05-10 10:44:16 +02:00
vfcap.h video: remove --flip 2013-12-05 22:58:54 +01:00