wolfv / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
GNU General Public License v2.0
1 stars 0 forks source link

[Regression] gnome-mplayer 1.07 does not detect video resolution correctly #657

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Just open a video (tried avi, mpeg, mp4, flv)

What is the expected output? What do you see instead?
Resolution is detected properly, window size gets adjusted accordingly.
-----------------------------------------------------------------------
The resolution is completely random, it changes with every start. Because of 
that, gnome-mplayer has always the wrong window size.

What version of the product are you using? On what operating system?
gnome-mplayer 1.07; mplayer 35421; ArchLinux

Please provide any additional information below.
- Occurring with all video output modes
- rm -r ~/.config/gnome-mplayer/ does not help
- Downgrading to 1.06 "fixes" this issue

Please tell me if you can reproduce this.

Original issue reported on code.google.com by thomas.s...@gmail.com on 26 Nov 2012 at 6:46

GoogleCodeExporter commented 9 years ago
Just rebuild gnome-mplayer and gmtk 1.0.7 on my machine and everything is 
working correctly for me. Perhaps running with the -v option will point show 
something. Please run that and post the output and let me know how it works.

Original comment by kdeko...@gmail.com on 27 Nov 2012 at 3:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Output is attached.
Video size is 640x272 (line 116)
gnome-mplayer size is 720 x 861 -> wrong (line 122)

Reverting only this commit fixed it.
https://code.google.com/p/gnome-mplayer/source/diff?spec=svn2352&old=2349&r=2352
&format=unidiff&path=%2Ftrunk%2Fsrc%2Fgui.c

Original comment by thomas.s...@gmail.com on 27 Nov 2012 at 3:53

Attachments:

GoogleCodeExporter commented 9 years ago
Do you have Preference -> Interface -> Remember Window Size and Position 
checked? If so what happens when you uncheck that?

Original comment by kdeko...@gmail.com on 27 Nov 2012 at 8:25

GoogleCodeExporter commented 9 years ago
It is checked (the default).
If I uncheck it, the video is detected correctly.

Original comment by thomas.s...@gmail.com on 28 Nov 2012 at 2:31

GoogleCodeExporter commented 9 years ago
ok i will look into it, although i ship with that option disabled by default

Original comment by kdeko...@gmail.com on 29 Nov 2012 at 2:40

GoogleCodeExporter commented 9 years ago
You are right, I thought the settings are saved in ~/.config/gnome-mplayer.

Original comment by thomas.s...@gmail.com on 29 Nov 2012 at 6:57