1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-11 08:37:59 +00:00
mpv/player
wm4 f6f8dc7782 video: remove redundant mp_image display_w/_h members
Commit 5e4e248 added a mp_image_params field to mp_image, and moved many
parameters to that struct. display_w/h was left redundant with
mp_image_params.d_w/d_h. These fields were supposed to be always in
sync, but it seems some code forgot to do this correctly, such as
vf_fix_img_params() or mp_image_copy_attributes(). This led to the
problem in github issue #756, because display_w/_h could become
incorrect.

It turns out that most code didn't use the old fields anyway. Just
remove them. Note that mp_image_params.d_w/d_h are supposed to be always
valid, so the additional checks for 0 shouldn't be needed. Remove these
checks as well.

Fixes #756.
2014-04-29 13:31:59 +02:00
..
lua lua: make it easier to integrate with foreign event loops 2014-04-12 20:41:12 +02:00
timeline player: remove ASX, SMIL and NSC playlist parsers 2014-04-13 15:40:05 +02:00
audio.c af: add replaygain_data field to af_stream and af_instance 2014-04-04 18:35:29 +02:00
client.c client API: add chapter change event 2014-04-27 22:28:07 +02:00
client.h client API: add a way to notify clients of property changes 2014-04-06 03:22:49 +02:00
command.c client API: add chapter change event 2014-04-27 22:28:07 +02:00
command.h client API: add a way to notify clients of property changes 2014-04-06 03:22:49 +02:00
configfiles.c encode: don't apply default config options 2014-04-19 22:05:17 +02:00
core.h client API: add chapter change event 2014-04-27 22:28:07 +02:00
discnav.c player: rename dvdnav to discnav 2014-03-30 11:42:49 +09:00
loadfile.c client API: add chapter change event 2014-04-27 22:28:07 +02:00
lua.c lua: fix stack going out of sync 2014-04-24 02:30:19 +02:00
lua.h lua: port to client API 2014-02-10 21:03:59 +01:00
main_fn.c build: add option to build a library 2014-02-10 21:25:22 +01:00
main.c client API: add chapter change event 2014-04-27 22:28:07 +02:00
misc.c player: dvdnav: fix start time when entering and leaving menu 2014-03-30 07:31:02 +02:00
osd.c player: hack to fix --msgmodule --term-osd-bar 2014-04-13 13:03:31 +02:00
playloop.c client API: add chapter change event 2014-04-27 22:28:07 +02:00
screenshot.c video: remove redundant mp_image display_w/_h members 2014-04-29 13:31:59 +02:00
screenshot.h
sub.c sub: uglify OSD code path with locking 2014-01-18 01:27:43 +01:00
video.c video: don't drop last frame when deinterlacing with yadif 2014-04-28 22:23:31 +02:00