Hi, I made a patch to libvo/vo_sdl.c, which autoselect in the start a widescreen mode, if there is some. I thing it's pretty source, so it will be commited to CVS. In verbose mode mplayer will list available modes from SDL, somethink like: Mode: 0: 1152 x 768 Mode: 1: 1024 x 768 Mode: 2: 896 x 600 Mode: 3: 800 x 600 Mode: 4: 720 x 480 Mode: 5: 640 x 480 SET Mode: 4: 720 x 480 Klokan -- (\_/) Klokan Petr Pridal (o o) ---------------------------- (.) student FI MU Brno, webmaster http://www.linux.cz/ (] [) _ mailto:klokan@seznam.cz {~~~}/ ) ICQ:3674202 (') (') http://klokan.misto.cz/ \_)-(_) Look at http://www.fi.muni.cz/~xpridal/
Klokan Petr Pridal writes:
Hi,
I made a patch to libvo/vo_sdl.c, which autoselect in the start a widescreen mode, if there is some. I thing it's pretty source, so it will be commited to CVS.
Please read DOCS/tech/patches.txt. We need a unified diff to apply this to CVS. Thanks Diego
Hi,
I made a patch to libvo/vo_sdl.c, which autoselect in the start a widescreen mode, if there is some. I thing it's pretty source, so it will be commited to CVS.
Please read DOCS/tech/patches.txt. We need a unified diff to apply this to CVS. Sorry, once more and better...
Klokan -- (\_/) Klokan Petr Pridal (o o) ---------------------------- (.) student FI MU Brno, webmaster http://www.linux.cz/ (] [) _ mailto:klokan@seznam.cz {~~~}/ ) ICQ:3674202 (') (') http://klokan.misto.cz/ \_)-(_) Look at http://www.fi.muni.cz/~xpridal/
On Tuesday 11 June 2002 03:24, Klokan Petr Pridal wrote:
Hi,
I made a patch to libvo/vo_sdl.c, which autoselect in the start a widescreen mode, if there is some. I thing it's pretty source, so it will be commited to CVS.
Please read DOCS/tech/patches.txt. We need a unified diff to apply this to CVS.
Sorry, once more and better... Besides the fact that the code is junk (it has some obvious bugs if I saw correctly, eg = vs. ==), what's the use of it?
Klokan
-- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________
On Friday 14 June 2002 13:42, Felix Buenemann wrote:
I made a patch to libvo/vo_sdl.c, which autoselect in the start a widescreen mode, if there is some. I thing it's pretty source, so it will be commited to CVS.
Please read DOCS/tech/patches.txt. We need a unified diff to apply this to CVS.
Sorry, once more and better...
Besides the fact that the code is junk (it has some obvious bugs if I saw correctly, eg = vs. ==), what's the use of it?
Btw. I think my answer sounds a bit rude, wasn't meant to, sorry!
Klokan
-- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________
Hi,
Besides the fact that the code is junk (it has some obvious bugs if I saw correctly, eg = vs. ==), what's the use of it? Btw. I think my answer sounds a bit rude, wasn't meant to, sorry!
There was really this error. I'm ashamed, now I got a lammer stamp :-(. I hope it's not forever. Thanks for your check-up, so the error was not published yet. Repaired patch is included. Klokan -- (\_/) Klokan Petr Pridal (o o) ---------------------------- (.) student FI MU Brno, webmaster http://www.linux.cz/ (] [) _ mailto:klokan@seznam.cz {~~~}/ ) ICQ:3674202 (') (') http://klokan.misto.cz/ \_)-(_) Look at http://www.fi.muni.cz/~xpridal/
On Thursday 04 July 2002 14:40, Klokan Petr Pridal wrote:
Hi,
Besides the fact that the code is junk (it has some obvious bugs if I saw correctly, eg = vs. ==), what's the use of it?
Btw. I think my answer sounds a bit rude, wasn't meant to, sorry!
There was really this error. I'm ashamed, now I got a lammer stamp :-(. I hope it's not forever. Thanks for your check-up, so the error was not published yet.
Repaired patch is included. This one looks OK, but I still don't know what's the use of it.
Can you please explain your setup and give an example of a movie resolution and which mode would be chosen with your code and which mode with the old code.
Klokan
-- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________
On Wed, Jul 10, 2002 at 06:47:43AM +0200, Felix Buenemann wrote:
On Thursday 04 July 2002 14:40, Klokan Petr Pridal wrote:
Hi,
Besides the fact that the code is junk (it has some obvious bugs if I saw correctly, eg = vs. ==), what's the use of it?
Btw. I think my answer sounds a bit rude, wasn't meant to, sorry!
There was really this error. I'm ashamed, now I got a lammer stamp :-(. I hope it's not forever. Thanks for your check-up, so the error was not published yet.
Repaired patch is included. This one looks OK, but I still don't know what's the use of it.
Can you please explain your setup and give an example of a movie resolution and which mode would be chosen with your code and which mode with the old code.
For example (I remember, because I'm not near the computer with patched version): Video file: Standard divx avi encoded from 16:9 video dvd resized to 640x360. All available modes on widescreen display on TiBook: Mode: 0: 1152 x 768 Mode: 1: 1024 x 768 Mode: 2: 896 x 600 Mode: 3: 800 x 600 Mode: 4: 720 x 480 Mode: 5: 640 x 480 With old code this will use 640x480 (There are black bars on widescreen display on all four sides: top, bottom, left, right) New patched code will use: SET Mode: 4: 720 x 480 So on the display are only small top and bottom black bars. If there are no extra widescreen modes available, no change in choosing of modes will happend. Klokan -- (\_/) Klokan Petr Pridal (o o) ---------------------------- (.) student FI MU Brno, webmaster http://www.linux.cz/ (] [) _ mailto:klokan@seznam.cz {~~~}/ ) ICQ:3674202 (') (') http://klokan.misto.cz/ \_)-(_) Look at http://www.fi.muni.cz/~xpridal/
On Thursday 11 July 2002 01:06, Klokan Petr Pridal wrote:
On Wed, Jul 10, 2002 at 06:47:43AM +0200, Felix Buenemann wrote:
On Thursday 04 July 2002 14:40, Klokan Petr Pridal wrote:
Hi,
Besides the fact that the code is junk (it has some obvious bugs if I saw correctly, eg = vs. ==), what's the use of it?
Btw. I think my answer sounds a bit rude, wasn't meant to, sorry!
There was really this error. I'm ashamed, now I got a lammer stamp :-(. I hope it's not forever. Thanks for your check-up, so the error was not published yet.
Repaired patch is included.
This one looks OK, but I still don't know what's the use of it.
Can you please explain your setup and give an example of a movie resolution and which mode would be chosen with your code and which mode with the old code.
For example (I remember, because I'm not near the computer with patched version):
Video file: Standard divx avi encoded from 16:9 video dvd resized to 640x360.
All available modes on widescreen display on TiBook: Mode: 0: 1152 x 768 Mode: 1: 1024 x 768 Mode: 2: 896 x 600 Mode: 3: 800 x 600 Mode: 4: 720 x 480 Mode: 5: 640 x 480
With old code this will use 640x480 (There are black bars on widescreen display on all four sides: top, bottom, left, right) New patched code will use:
SET Mode: 4: 720 x 480
So on the display are only small top and bottom black bars. If there are no extra widescreen modes available, no change in choosing of modes will happend. hmm, please test the following, measure the size of the display and then add a -monitoraspect horizontalsize:verticalsize and see if scaling is better then (no vertical black bars should occur for widescreen movies).
Klokan
-- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________
participants (3)
-
Diego Biurrun -
Felix Buenemann -
Klokan Petr Pridal