Store config values, when menu leaves.

This commit is contained in:
Johns 2011-12-17 19:25:08 +01:00
parent 5ec46e94b4
commit 33460f1370
2 changed files with 21 additions and 4 deletions

17
Todo
View File

@ -1,3 +1,14 @@
missing:
video out with xv
video out with opengl
video out with vdpau
software decoder
vdpau decoder
software deinterlace
auto crop
atmolight
zoom/fit-zoom 4:3
multistream handling
libva-intel-driver: libva-intel-driver:
intel still has hangups most with 1080i intel still has hangups most with 1080i
@ -10,6 +21,9 @@ libva-vdpau-driver:
hangup on exit (VaapiDelDecoder -> VaapiCleanup hangup on exit (VaapiDelDecoder -> VaapiCleanup
-> vaDestroyContext -> pthread_rwlock_wrlock) -> vaDestroyContext -> pthread_rwlock_wrlock)
libva-xvba-driver:
mpeg1/2 needs software decoder fixed
x11: x11:
support resize of x11 window support resize of x11 window
support fullscreen window support fullscreen window
@ -27,8 +41,9 @@ audio/alsa:
this channels has packet start not at the beginning of the start packet this channels has packet start not at the beginning of the start packet
playback of recording playback of recording
play back is too fast
setup: setup:
Saved parameters aren't used as default for setup menu. Setup menu parameters aren't automatic loaded?
Setup parameters are not used until restart. Setup parameters are not used until restart.
Can a notice be added to the setup menu? Can a notice be added to the setup menu?

View File

@ -293,9 +293,11 @@ cMenuSetupSoft::cMenuSetupSoft(void)
*/ */
void cMenuSetupSoft::Store(void) void cMenuSetupSoft::Store(void)
{ {
SetupStore("MakePrimary", MakePrimary); SetupStore("MakePrimary", ConfigMakePrimary = MakePrimary);
SetupStore("Deinterlace", Deinterlace); SetupStore("Deinterlace", ConfigVideoDeinterlace = Deinterlace);
SetupStore("Scaling", Scaling); VideoSetDeinterlace(ConfigVideoDeinterlace);
SetupStore("Scaling", ConfigVideoScaling = Scaling);
VideoSetScaling(ConfigVideoScaling);
} }
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////