player: remove some explicit options accesses when saving resume file

Basically, make use of all the new code.

Unfortunately, the new code and it's "compromise semantics" with the old
behavior before the options/properties merge bites back: this
vid/aid/sid, deinterlace, and video-aspect properties have neutral
default settings (such as "auto"), but return the current value during
playback, so we would unnecessarily force this value when playback is
resumed. So leave those as they are.

Also, the colormatrix options were removed a long time ago.
This commit is contained in:
wm4 2016-09-22 20:42:05 +02:00
parent efbfc00741
commit 01e95468f9
1 changed files with 26 additions and 29 deletions

View File

@ -214,44 +214,41 @@ exit:
}
static const char *const backup_properties[] = {
"options/osd-level",
"osd-level",
//"loop",
"options/speed",
"speed",
"options/edition",
"options/pause",
"pause",
"volume",
"mute",
"options/audio-delay",
"audio-delay",
//"balance",
"options/fullscreen",
"options/colormatrix",
"options/colormatrix-input-range",
"options/colormatrix-output-range",
"options/ontop",
"options/border",
"options/gamma",
"options/brightness",
"options/contrast",
"options/saturation",
"options/hue",
"fullscreen",
"ontop",
"border",
"gamma",
"brightness",
"contrast",
"saturation",
"hue",
"options/deinterlace",
"options/vf",
"options/af",
"options/panscan",
"vf",
"af",
"panscan",
"options/aid",
"options/vid",
"options/sid",
"options/sub-delay",
"options/sub-speed",
"options/sub-pos",
"options/sub-visibility",
"options/sub-scale",
"options/sub-use-margins",
"options/ass-force-margins",
"options/ass-vsfilter-aspect-compat",
"options/ass-style-override",
"options/ab-loop-a",
"options/ab-loop-b",
"sub-delay",
"sub-speed",
"sub-pos",
"sub-visibility",
"sub-scale",
"sub-use-margins",
"ass-force-margins",
"ass-vsfilter-aspect-compat",
"ass-style-override",
"ab-loop-a",
"ab-loop-b",
"options/video-aspect",
0
};