[Mplayer-cvslog] CVS: main/Gui/mplayer mw.c,1.93,1.94
Zoltan Ponekker
pontscho at mplayerhq.hu
Thu Nov 28 20:02:22 CET 2002
Update of /cvsroot/mplayer/main/Gui/mplayer
In directory mail:/var/tmp.root/cvs-serv13186/Gui/mplayer
Modified Files:
mw.c
Log Message:
- add Rüdiger Kuhlmann's <mplayer-list-UGa6JdjLujS2 at ruediger-kuhlmann.de> patch
- fix one 10l bug
Index: mw.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/mw.c,v
retrieving revision 1.93
retrieving revision 1.94
diff -u -r1.93 -r1.94
--- mw.c 28 Nov 2002 00:44:24 -0000 1.93
+++ mw.c 28 Nov 2002 19:01:45 -0000 1.94
@@ -21,6 +21,11 @@
#include "../../libvo/sub.h"
#include "../../mplayer.h"
+#include "../../libmpdemux/demuxer.h"
+#include "../../libmpdemux/stheader.h"
+#include "../../codec-cfg.h"
+
+
#include "play.h"
#include "widgets.h"
@@ -118,6 +123,10 @@
case 'b': sprintf( tmp,"%3.2f%%",guiIntfStruct.Balance ); strcat( trbuf,tmp ); break;
case 'B': sprintf( tmp,"%3.1f",guiIntfStruct.Balance ); strcat( trbuf,tmp ); break;
case 'd': sprintf( tmp,"%d",guiIntfStruct.FrameDrop ); strcat( trbuf,tmp ); break;
+ case 'x': sprintf( tmp,"%d",guiIntfStruct.MovieWidth ); strcat( trbuf,tmp ); break;
+ case 'y': sprintf( tmp,"%d",guiIntfStruct.MovieHeight ); strcat( trbuf,tmp ); break;
+ case 'C': sprintf( tmp,"%s", guiIntfStruct.sh_video? ((sh_video_t *)guiIntfStruct.sh_video)->codec->name : "");
+ strcat( trbuf,tmp ); break;
case 's': if ( guiIntfStruct.Playing == 0 ) strcat( trbuf,"s" ); break;
case 'l': if ( guiIntfStruct.Playing == 1 ) strcat( trbuf,"p" ); break;
case 'e': if ( guiIntfStruct.Playing == 2 ) strcat( trbuf,"e" ); break;
More information about the MPlayer-cvslog
mailing list