mpv/video
wm4 4ae43a1c40 vd_lavc: fix broken assert()
This assert() sometimes triggered (and still triggers) with lavc API
bugs. It tries to check that at least 1 plane is set to a non-NULL
value. Obviously, a valid frame returned by successful decoding should
never have it.

The problem is that some hwdecs use integer surface IDs cast to a
pointer. Recently, it happened that newer Intel drivers started using
surface ID 0 under certain circumstances (for unknown reasons), which
triggers this assert.

Just get rid of it.

For the sake of #7185, add an assert() specifically for nvdec. That
failure needs to be further analyzed, is probably a FFmpeg bug, and
without this assert() would just crash somewhere further down the video
chain.

Fixes: #7261
2019-12-15 23:40:11 +01:00
..
decode vd_lavc: fix broken assert() 2019-12-15 23:40:11 +01:00
filter vf_gpu: render subtitles 2019-11-30 18:09:31 +01:00
out vo_gpu: x11egl: log EGL config ID 2019-12-15 23:33:23 +01:00
csputils.c
csputils.h
d3d.c
d3d.h
fmt-conversion.c test: add dumping of img_format metadata 2019-11-08 21:22:49 +01:00
fmt-conversion.h
hwdec.c
hwdec.h
image_loader.c
image_loader.h
image_writer.c
image_writer.h
img_format.c img_format: remove some unneeded alpha flag handling 2019-11-08 21:22:49 +01:00
img_format.h img_format: remove some unneeded alpha flag handling 2019-11-08 21:22:49 +01:00
mp_image.c
mp_image.h
mp_image_pool.c
mp_image_pool.h
sws_utils.c sws_utils: remove some unnecessary sws bug work around 2019-11-03 22:48:49 +01:00
sws_utils.h
vaapi.c
vaapi.h
vdpau.c
vdpau.h
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
zimg.c DOCS/contribute.md, zimg: remove 2 instances of an extraneous "s" 2019-11-07 22:53:13 +01:00
zimg.h