Author: ib
Date: Thu Apr 24 16:41:04 2014
New Revision: 37177

Log:
New GUI feature: Rotate a video.

It is accessible from the context menu.

Based on a complain by Linus about video players that don't easily allow
rotating a video. (Thanks to compn for pointing that out.)

Realize the feature by adding and/or removing appropriate video filters.

Additionally, add new GUI message evSetRotation and update documentation.

Modified:
   trunk/DOCS/xml/en/skin.xml
   trunk/help/help_mp-en.h

Changes in other areas also in this revision:
Added:
   trunk/gui/dialog/pixmaps/rotate.xpm
   trunk/gui/dialog/pixmaps/rotate0.xpm
   trunk/gui/dialog/pixmaps/rotate180.xpm
   trunk/gui/dialog/pixmaps/rotate90ccw.xpm
   trunk/gui/dialog/pixmaps/rotate90cw.xpm
Modified:
   trunk/Changelog
   trunk/DOCS/xml/de/skin.xml
   trunk/gui/app/app.c
   trunk/gui/app/app.h
   trunk/gui/dialog/menu.c
   trunk/gui/interface.c
   trunk/gui/interface.h
   trunk/gui/ui/actions.c
   trunk/gui/win32/skinload.c
   trunk/gui/win32/skinload.h
   trunk/help/help_mp-de.h

Modified: trunk/DOCS/xml/en/skin.xml
==============================================================================
--- trunk/DOCS/xml/en/skin.xml  Thu Apr 24 15:51:20 2014        (r37176)
+++ trunk/DOCS/xml/en/skin.xml  Thu Apr 24 16:41:04 2014        (r37177)
@@ -1087,6 +1087,12 @@ menu entries.
   Set the video window to its original aspect ratio.
   </para></listitem>
 </varlistentry>
+<varlistentry>
+  <term><emphasis role="bold">evSetRotation</emphasis></term>
+  <listitem><para>
+  Set the video to its original orientation.
+  </para></listitem>
+</varlistentry>
 </variablelist>
 
 <variablelist>

Modified: trunk/help/help_mp-en.h
==============================================================================
--- trunk/help/help_mp-en.h     Thu Apr 24 15:51:20 2014        (r37176)
+++ trunk/help/help_mp-en.h     Thu Apr 24 16:41:04 2014        (r37177)
@@ -770,6 +770,10 @@ static const char help_text[] = MSGTR_He
 #define MSGTR_GUI_RearLeft "Rear left"
 #define MSGTR_GUI_RearRight "Rear right"
 #define MSGTR_GUI_Remove "Remove"
+#define MSGTR_GUI_Rotation "Rotation"
+#define MSGTR_GUI_Rotation180 "180°"
+#define MSGTR_GUI_Rotation90CCW "90° counterclockwise"
+#define MSGTR_GUI_Rotation90CW "90° clockwise"
 #define MSGTR_GUI_Saturation "Saturation"
 #define MSGTR_GUI_SaveWindowPositions "Save window positions"
 #define MSGTR_GUI_ScaleMode "Scale mode"
_______________________________________________
MPlayer-DOCS mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-docs

Reply via email to