0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/video/out
NRK d70b859084 mp_image: abort on av_buffer_ref() failure
this changes mp_image_new_ref() to handle allocation failure itself
instead of doing it at its many call-sites (some of which never checked
for failure at all).

also remove MP_HANDLE_OOM() from the call sites since this is not
necessary anymore.

not all the call-sites have been touched, since some of the caller might
be relying on `mp_image_new_ref(NULL)` returning NULL.

Fixes: https://github.com/mpv-player/mpv/issues/11840
2023-06-28 20:56:23 -07:00
..
cocoa cocoa_common: remove deprecated VOCTRLs/VO_EVENTs 2019-12-12 19:56:03 +01:00
d3d11 hwdec: do not add hwdec device if it failed to create 2023-06-26 19:07:29 +02:00
gpu vo: hwdec: prioritise drmprime over drmprime_overlay 2023-06-22 12:46:21 -07:00
gpu_next vo_gpu_next: respect gl->flipped 2023-05-27 11:37:48 +02:00
hwdec hwdec: do not add hwdec device if it failed to create 2023-06-26 19:07:29 +02:00
mac options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
opengl hwdec: do not add hwdec device if it failed to create 2023-06-26 19:07:29 +02:00
placebo video/out/placebo/utils: add mappings from pl enums to mpv enums 2023-03-05 22:37:05 -05:00
vulkan vulkan: don't assume all ra_ctx implementations have a swapchain 2023-06-03 18:37:43 -07:00
win32 vo_gpu: win: remove exclusive-fullscreen detection hack 2017-12-20 14:53:41 +11:00
wldmabuf vo_dmabuf_wayland: drop linux-dmabuf-v2 (again) 2023-06-16 14:46:59 +00:00
android_common.c video/out/android: assert WinID value before use 2023-06-03 17:07:43 +02:00
android_common.h vo: change vo_platform_init to bool 2023-01-08 20:42:42 +00:00
aspect.c options: add --video-scale-x/y 2020-06-03 17:26:44 +02:00
aspect.h aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
bitmap_packer.c video/out/bitmap_packer: Avoid empty initializer list 2019-11-18 16:50:21 +01:00
bitmap_packer.h bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
cocoa_cb_common.swift options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
cocoa_common.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
cocoa_common.m various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
dither.c various: fix warning -Wimplicit-const-int-float-conversion 2023-02-26 16:45:07 +01:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
dr_helper.c vo: add int flags to the get_image signature 2023-01-23 14:13:34 +01:00
dr_helper.h vo: add int flags to the get_image signature 2023-01-23 14:13:34 +01:00
drm_atomic.c drm: rewrite based around vo_drm_state 2023-01-21 17:08:29 +00:00
drm_atomic.h drm: rewrite based around vo_drm_state 2023-01-21 17:08:29 +00:00
drm_common.c options: remove explicit initialization of integers to 0 2023-02-21 17:15:17 +00:00
drm_common.h drm: rewrite based around vo_drm_state 2023-01-21 17:08:29 +00:00
drm_prime.c drm_prime: fallback to drmModeAddFB2 2020-05-08 21:26:25 +02:00
drm_prime.h drm_prime: double free bug 2020-03-05 18:12:57 +01:00
filter_kernels.c filter_kernels: fix kaiser 2022-12-20 13:53:25 +01:00
filter_kernels.h vo_opengl: refactor scaler LUT weight packing/loading 2017-09-04 13:53:14 +02:00
libmpv_sw.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
libmpv.h vo: add int flags to the get_image signature 2023-01-23 14:13:34 +01:00
present_sync.c vo: move wayland presentation to separate files 2022-06-19 18:13:55 +00:00
present_sync.h vo: move wayland presentation to separate files 2022-06-19 18:13:55 +00:00
vo_caca.c vo_caca: Implement VOCTRL_UPDATE_WINDOW_TITLE 2019-10-29 17:07:41 +01:00
vo_direct3d.c various: fix typos 2023-03-28 19:29:44 +00:00
vo_dmabuf_wayland.c vo_dmabuf_wayland: drop linux-dmabuf-v2 (again) 2023-06-16 14:46:59 +00:00
vo_drm.c vo_drm: fix null dereference and using closed fd 2023-06-28 02:10:14 +00:00
vo_gpu_next.c vo_gpu_next: add --corner-rounding option 2023-06-21 23:52:35 +02:00
vo_gpu.c vo: hwdec: Pass the ra_ctx to hwdecs instead of just the ra 2023-05-28 15:46:05 -07:00
vo_image.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
vo_kitty.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
vo_lavc.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
vo_libmpv.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
vo_mediacodec_embed.c hwdec: fix undeclared identifier in mediacodec_embed 2023-06-28 10:29:24 -07:00
vo_null.c options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
vo_rpi.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
vo_sdl.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
vo_sixel.c various: fix various typos in the code base 2023-03-28 19:29:44 +00:00
vo_tct.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
vo_vaapi.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
vo_vdpau.c options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
vo_wlshm.c wayland: use bool type for alpha framebuffer tracking 2023-02-28 14:53:32 +00:00
vo_x11.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
vo_xv.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
vo.c mp_image: abort on av_buffer_ref() failure 2023-06-28 20:56:23 -07:00
vo.h vo: make mp_frame_perf thread safe 2023-05-25 16:25:33 +02:00
w32_common.c win32: follow Windows settings and update dark mode state 2023-04-04 20:04:57 +02:00
w32_common.h vo: change vo_platform_init to bool 2023-01-08 20:42:42 +00:00
wayland_common.c vo_dmabuf_wayland: drop linux-dmabuf-v2 (again) 2023-06-16 14:46:59 +00:00
wayland_common.h vo_dmabuf_wayland: drop linux-dmabuf-v2 (again) 2023-06-16 14:46:59 +00:00
win_state.c win_state: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
win_state.h win_state: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
x11_common.c player: add drag-and-drop option 2023-06-12 20:50:08 +00:00
x11_common.h player: add --auto-window-resize option 2023-03-02 02:55:36 +00:00