Page 1 of 1

VLC won't save resize setting (but other settings work)

Posted: 06 Jul 2013 21:41
by cb474
I have VLC set to its default setting, to resize to the native video size, but it's not doing so when launched.

I noticed after restarting my computer, the first time I open a video file VLC resizes as expected. But if I close it and reopen the same file or another file, it fails to resize to the native video size.

If I look at the VLC configuration file, /home/user/.config/vlc/vlcrc, there's a line for the video resizing setting.

Code: Select all

# Resize interface to the native video size (boolean) #qt-video-autoresize=1
It's set to resize the video, but commented out (even though when I look in the VLC preferences interface settings, the checkbox for resizing video is checked).

If I edit the vlcrc file to uncomment the qt-video-autoresize=1 line it makes no difference, when VLC quits it rewrites the file to recomment out the line (again even though all along the checkbox for resizing video in the VLC preferences remains checked).

Other settings that I change work fine and are remembered as expected. Any reason why only this one setting won't save? Thanks.

I'm running 2.0.7

Re: VLC won't save resize setting (but other settings work)

Posted: 08 Jul 2013 12:21
by lucacerone
Hi cb474,
I have similar issues.
I think that the settings that are not available through the GUI Preferences, get overwritten every time you modify some settings.
I posted this example on launchpad (https://answers.launchpad.net/ubuntu/+s ... ion/232051) and they advised me to ask for support here.

Here is the example I posted there:
Using the preference menu I activated the "web" interface, so that the web server starts every time I run VLC.
I want the server to communicate through port 54444 instead of the default (8080). I therefore opened ~/.config/vlc/vlcrc
and set the http-port to the desired value (removing the #, of course).

When I opened VLC it worked as intended.

Later I wanted to activate and configure the Volume normalizer filter. Using the preference from the GUI I activated the filters
and changed some of the related parameters.

I restarted VLC and discovered that the http server no longer worked on port 54444 but on port 8080.

Playing a bit more with the settings I discovered that when I modify the preferences in the GUI, the values for settings that are not available through the Preferences menu (such as the http-port) are reset to their default value.

Can anybody help me to solve the issue?

Re: VLC won't save resize setting (but other settings work)

Posted: 08 Jul 2013 13:21
by cb474
Hi lucacerone,

Thanks for your thoughts on the matter. I think I'm not having the same type of problem as you. The setting I'm changing, as I tried (perhaps unsuccessfully) to explain above, is a setting that is available in the GUI preferences.

If you go in the GUI to Advanced Settings > Interface > Main Interface > Qt, there is a checkbox for "Resize interface to native video size."

I have this check box checked to enable this feature (which is the default setting) and it remains checked, even when closing and opening VLC or restarting the computer. But in the config file (vlcrc) the setting is commented out, thereby disabling the feature.

So the setting in the GUI and the setting in the config file are conflicting with each other. But if I edit the config file, this does not help, it gets reset to commenting out the setting when I close and reopen VLC (again despite the fact that the checkbox in the GUI preferences remains checked the whole time).

Maybe I will file a bug report. This seems like this cannot possibly be the intended behavior. And I did not have the problem in previous versions of VLC.