mirror of
https://github.com/mpv-player/mpv
synced 2025-04-07 10:02:50 +00:00
added -rootwin support to vo_directx
updated all man pages except chinese also added mention of vo_quartz's rootwin to man pages where it was missing git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13091 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1b8e3babb8
commit
66dd2d906d
@ -2061,7 +2061,8 @@ Momentan nur unterst
|
|||||||
.B \-rootwin
|
.B \-rootwin
|
||||||
Spielt den Film im Root-Fenster (dem Desktophintergrund) ab.
|
Spielt den Film im Root-Fenster (dem Desktophintergrund) ab.
|
||||||
Desktophintergrundbilder können den Film allerdings verdecken.
|
Desktophintergrundbilder können den Film allerdings verdecken.
|
||||||
Funktioniert nur mit den x11-, xv-, xmga- und xvidix-Videoausgabetreibern.
|
Funktioniert nur mit den x11-, xv-, xmga-, xvidix-, quartz- und
|
||||||
|
directx-Videoausgabetreibern.
|
||||||
.TP
|
.TP
|
||||||
.B \-saturation <\-100\-100>
|
.B \-saturation <\-100\-100>
|
||||||
Passt die Sättigung des Videosignals an (Standard: 0).
|
Passt die Sättigung des Videosignals an (Standard: 0).
|
||||||
|
@ -1989,7 +1989,7 @@ Currently only supported by \-vo directx combined with the \-vm option.
|
|||||||
.B \-rootwin
|
.B \-rootwin
|
||||||
Play movie in the root window (desktop background).
|
Play movie in the root window (desktop background).
|
||||||
Desktop background images may cover the movie window, though.
|
Desktop background images may cover the movie window, though.
|
||||||
Only works with the x11, xv, xmga, xvidix and quartz video output drivers.
|
Only works with the x11, xv, xmga, xvidix, quartz and directx video output drivers.
|
||||||
.TP
|
.TP
|
||||||
.B \-saturation <-100\-100>
|
.B \-saturation <-100\-100>
|
||||||
Adjust the saturation of the video signal (default: 0).
|
Adjust the saturation of the video signal (default: 0).
|
||||||
|
@ -2018,10 +2018,10 @@ Establece la frecuencia de refresco del monitor en Hz.
|
|||||||
Actualmente solo está soportado por \-vo directx combinado con la opción
|
Actualmente solo está soportado por \-vo directx combinado con la opción
|
||||||
\-vm.
|
\-vm.
|
||||||
.TP
|
.TP
|
||||||
.B \-rootwin (X11 solamente)
|
.B \-rootwin
|
||||||
Reproduce la película en la ventana raíz (fondo de escritorio) en lugar
|
Reproduce la película en la ventana raíz (fondo de escritorio) en lugar
|
||||||
de abrir una nueva.
|
de abrir una nueva.
|
||||||
Funciona solo con los controladores de x11, xv, xmga y xvidix.
|
Funciona solo con los controladores de x11, xv, xmga, xvidix, quartz y directx.
|
||||||
.TP
|
.TP
|
||||||
.B \-saturation <-100\-100>
|
.B \-saturation <-100\-100>
|
||||||
Ajusta la saturación de la salida de video (por defecto: 0).
|
Ajusta la saturación de la salida de video (por defecto: 0).
|
||||||
|
@ -2075,7 +2075,8 @@ L'intervalle d
|
|||||||
.B \-rootwin
|
.B \-rootwin
|
||||||
Joue le film dans la fenêtre root (le fond du bureau) au lieu d'en ouvrir
|
Joue le film dans la fenêtre root (le fond du bureau) au lieu d'en ouvrir
|
||||||
une nouvelle.
|
une nouvelle.
|
||||||
Cette option ne fonctionne qu'avec les pilotes x11, xv, xmga et xvidix.
|
Cette option ne fonctionne qu'avec les pilotes x11, xv, xmga, xvidix, quartz et
|
||||||
|
directx.
|
||||||
.TP
|
.TP
|
||||||
.B \-saturation <-100\-100>
|
.B \-saturation <-100\-100>
|
||||||
Ajuste la saturation du signal vidéo (0 par défaut).
|
Ajuste la saturation du signal vidéo (0 par défaut).
|
||||||
|
@ -1750,7 +1750,7 @@ A megadott tartom
|
|||||||
.B \-rootwin
|
.B \-rootwin
|
||||||
A film root ablakban (asztal hátterében) történő lejátszása, új ablak
|
A film root ablakban (asztal hátterében) történő lejátszása, új ablak
|
||||||
nyitása helyett.
|
nyitása helyett.
|
||||||
Csak az x11, xv, xmga és xvidix meghajtókkal.
|
Csak az x11, xv, xmga, xvidix, quartz és directx meghajtókkal.
|
||||||
.TP
|
.TP
|
||||||
.B \-saturation <\-100\-100>
|
.B \-saturation <\-100\-100>
|
||||||
Video kimenet szaturációjának beállítása (alap: 0).
|
Video kimenet szaturációjának beállítása (alap: 0).
|
||||||
|
@ -2058,10 +2058,10 @@ Attiva la frequenza di rinfresco del monitor in Hz.
|
|||||||
Attualmente e' supportato solo dal driver \-vo directx combinato con
|
Attualmente e' supportato solo dal driver \-vo directx combinato con
|
||||||
l' opzione \-vm.
|
l' opzione \-vm.
|
||||||
.TP
|
.TP
|
||||||
.B \-rootwin (solo X11)
|
.B \-rootwin
|
||||||
Visualizza il filmato nella finestra root (lo sfondo del desktop) invece
|
Visualizza il filmato nella finestra root (lo sfondo del desktop) invece
|
||||||
che aprire una nuova finestra.
|
che aprire una nuova finestra.
|
||||||
Funziona solo con i driver x11, xv, xmga e xvidix.
|
Funziona solo con i driver x11, xv, xmga, xvidix, quartz e directx.
|
||||||
.TP
|
.TP
|
||||||
.B \-saturation <-100\-100>
|
.B \-saturation <-100\-100>
|
||||||
Regola la saturazione dell' uscita video (default: 0).
|
Regola la saturazione dell' uscita video (default: 0).
|
||||||
|
@ -2007,10 +2007,10 @@ Dzia
|
|||||||
Ustawia częstotliwość odświeżania monitora.
|
Ustawia częstotliwość odświeżania monitora.
|
||||||
Obecnie opcja ta jest obsługiwana tylko przez \-vo directx razem z \-vm.
|
Obecnie opcja ta jest obsługiwana tylko przez \-vo directx razem z \-vm.
|
||||||
.TP
|
.TP
|
||||||
.B \-rootwin (tylko X11)
|
.B \-rootwin
|
||||||
Odtwarza film w głównym oknie (tło pulpitu).
|
Odtwarza film w głównym oknie (tło pulpitu).
|
||||||
Jednak obrazki tła na pulpicie mogą przesłaniać okno filmu.
|
Jednak obrazki tła na pulpicie mogą przesłaniać okno filmu.
|
||||||
Dzia³a tylko ze sterownikami wyj¶cia video x11, xv, xmga, xvidix i quartz.
|
Dzia³a tylko ze sterownikami wyj¶cia video x11, xv, xmga, xvidix, quartz i directx.
|
||||||
.TP
|
.TP
|
||||||
.B \-saturation <-100\-100>
|
.B \-saturation <-100\-100>
|
||||||
Modyfikuje nasycenie sygnału wyjścia video (domyślnie: 0).
|
Modyfikuje nasycenie sygnału wyjścia video (domyślnie: 0).
|
||||||
|
@ -69,6 +69,7 @@ extern int vo_doublebuffering; //tribblebuffering
|
|||||||
extern int vo_fs;
|
extern int vo_fs;
|
||||||
extern int vo_directrendering;
|
extern int vo_directrendering;
|
||||||
extern int vo_ontop;
|
extern int vo_ontop;
|
||||||
|
extern int vo_rootwin;
|
||||||
extern int vidmode;
|
extern int vidmode;
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
@ -600,9 +601,9 @@ static uint32_t Directx_ManageDisplay()
|
|||||||
RECT rdw=rd;
|
RECT rdw=rd;
|
||||||
AdjustWindowRect(&rdw,WS_OVERLAPPEDWINDOW|WS_SIZEBOX,FALSE);
|
AdjustWindowRect(&rdw,WS_OVERLAPPEDWINDOW|WS_SIZEBOX,FALSE);
|
||||||
// printf("window: %i %i %ix%i\n",rdw.left,rdw.top,rdw.right - rdw.left,rdw.bottom - rdw.top);
|
// printf("window: %i %i %ix%i\n",rdw.left,rdw.top,rdw.right - rdw.left,rdw.bottom - rdw.top);
|
||||||
SetWindowPos(hWnd,(vo_ontop)?HWND_TOPMOST:HWND_NOTOPMOST,rdw.left,rdw.top,rdw.right-rdw.left,rdw.bottom-rdw.top,SWP_NOOWNERZORDER);
|
SetWindowPos(hWnd,(vo_ontop)?HWND_TOPMOST:(vo_rootwin?HWND_BOTTOM:HWND_NOTOPMOST),rdw.left,rdw.top,rdw.right-rdw.left,rdw.bottom-rdw.top,SWP_NOOWNERZORDER);
|
||||||
}
|
}
|
||||||
else SetWindowPos(hWndFS,HWND_TOPMOST,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE|SWP_NOOWNERZORDER);
|
else SetWindowPos(hWndFS,vo_rootwin?HWND_BOTTOM:HWND_TOPMOST,0,0,0,0,SWP_NOMOVE|SWP_NOSIZE|SWP_NOOWNERZORDER);
|
||||||
|
|
||||||
/*for nonoverlay mode we are finished, for overlay mode we have to display the overlay first*/
|
/*for nonoverlay mode we are finished, for overlay mode we have to display the overlay first*/
|
||||||
if(nooverlay)return 0;
|
if(nooverlay)return 0;
|
||||||
@ -1267,8 +1268,18 @@ static uint32_t control(uint32_t request, void *data, ...)
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if(!vo_fs){vo_fs=1;ShowWindow(hWndFS,SW_SHOW);}
|
if(!vo_fs)
|
||||||
else {vo_fs=0; ShowWindow(hWndFS,SW_HIDE);}
|
{
|
||||||
|
vo_fs=1;
|
||||||
|
ShowWindow(hWndFS,SW_SHOW);
|
||||||
|
ShowWindow(hWnd,SW_HIDE);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
vo_fs=0;
|
||||||
|
ShowWindow(hWndFS,SW_HIDE);
|
||||||
|
ShowWindow(hWnd,SW_SHOW);
|
||||||
|
}
|
||||||
Directx_ManageDisplay();
|
Directx_ManageDisplay();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user