[MPlayer-users] Windowsize scaling is broken in 0.90pre4, feature requests, patch

Wolfram Kleff wkleff at gmx.de
Tue May 14 20:20:02 CEST 2002


The Windowsize scaling in 0.90pre4 is broken (pre3 was better):
Here is an example MPEG2 movie:

VDec: vo config request - 480 x 576, Planar YV12
Movie-Aspect is 1,33:1 - prescaling to correct movie aspect.
VO: [x11] 480x576 => 768x576 Planar YV12 zoom 

but the windowsize is 480x576 with a downscaled picture of 480x433.
Of course the windowsize should be set to 768x576.


Some feature requests:
- a mute key which temporary disconnects from /dev/dsp instead muting the   
audio volume (useful for real time stream playing)
- a snapshot (jpeg,png,...) function like xawtv
- slow motion (interactive selection)
- interactive recording to disk
- any chance for MPEG-TS (Transport Stream) support?


Here is a little patch for configure which autodetects devfs:

--- configure.orig      Mon May 13 22:52:10 2002
+++ configure   Tue May 14 18:58:53 2002
@@ -119,7 +119,7 @@
 Optional features:
   --disable-mencoder     disable mencoder [autodetect]
   --enable-largefiles    enable support for files >2^32 bytes long [disable]
-  --enable-linux-devfs   set default devices to devfs ones [disable]
+  --enable-linux-devfs   set default devices to devfs ones [auto]
   --enable-termcap       use termcap database for key codes [autodetect]
   --enable-lirc          enable LIRC (remote control) support [autodetect]
   --enable-gui           enable GUI [disable]
@@ -827,7 +827,7 @@
 _vo2=no
 _language=en
 _shm=auto
-_linux_devfs=no
+_linux_devfs=auto
 _i18n=no
 _sighandler=yes
 _libdv=auto
@@ -1724,8 +1724,11 @@
 echores "$_shm"
 
 
-# XXX: FIXME, add runtime checking
 echocheck "linux devfs"
+if test "$_linux_devfs" = auto ; then
+  _linux_devfs=no
+  linux && test -c /dev/.devfsd && _linux_devfs=yes
+fi
 echores "$_linux_devfs"
 
 
@@ -2193,7 +2196,7 @@
 echocheck "FBDev"
 if test "$_fbdev" = auto ; then
   _fbdev=no
-  linux && test -c /dev/fb0 && _fbdev=yes
+  linux && test -c /dev/fb0 -o -c /dev/fb/0 && _fbdev=yes
 fi
 if test "$_fbdev" = yes ; then
   _def_fbdev='#define HAVE_FBDEV 1'




More information about the MPlayer-users mailing list