[MPlayer-cvslog] r33988 - trunk/gui/interface.h
ib
subversion at mplayerhq.hu
Mon Aug 15 11:38:32 CEST 2011
Author: ib
Date: Mon Aug 15 11:38:32 2011
New Revision: 33988
Log:
Cosmetic: Rearrange the guiInfo members.
This is for reasons of clarity and comprehensibility.
Additionally, add comments to members which are directly accessed
by MPlayer.
Modified:
trunk/gui/interface.h
Modified: trunk/gui/interface.h
==============================================================================
--- trunk/gui/interface.h Mon Aug 15 11:09:29 2011 (r33987)
+++ trunk/gui/interface.h Mon Aug 15 11:38:32 2011 (r33988)
@@ -98,41 +98,41 @@ typedef struct {
sh_video_t *sh_video;
af_stream_t *afilter;
- int NewPlay;
+ int MovieWidth;
+ int MovieHeight;
+ int MovieWindow;
+
+ int StreamType; // public, read access by MPlayer
+ int AudioChannels;
+
+ char *Filename; // public, read access by MPlayer
+ char *AudioFilename;
+ char *SubtitleFilename;
+
+#if defined(CONFIG_VCD) || defined(CONFIG_DVDREAD)
+ int Tracks;
+#endif
+
+ int Track; // public, read access by MPlayer
#ifdef CONFIG_DVDREAD
guiDVDStruct DVD;
int Chapters;
- int Chapter;
+ int Chapter; // public, write access by MPlayer
int Angles;
int Angle;
#endif
-#if defined(CONFIG_VCD) || defined(CONFIG_DVDREAD)
- int Tracks;
-#endif
-
- int Playing;
- float Position;
+ int Playing; // public, read access by MPlayer
- int MovieWidth;
- int MovieHeight;
- int MovieWindow;
+ int RunningTime; // public, write access by MPlayer
+ int ElapsedTime; // public, write access by MPlayer
+ float Position; // public, write access by MPlayer
float Volume;
float Balance;
- int Track;
- int AudioChannels;
- int StreamType;
- int ElapsedTime;
- int RunningTime;
-
- char *Filename;
-
- char *SubtitleFilename;
-
- char *AudioFilename;
+ int NewPlay; // public, read access by MPlayer
} guiInterface_t;
extern guiInterface_t guiInfo;
More information about the MPlayer-cvslog
mailing list