Move some related variables together & add a comment

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22315 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
uau 2007-02-22 20:44:48 +00:00
parent fccd5900c7
commit 29f6d11d8c
1 changed files with 3 additions and 2 deletions

View File

@ -46,9 +46,7 @@
typedef struct MPContext { typedef struct MPContext {
int osd_show_percentage; int osd_show_percentage;
int osd_function; int osd_function;
demux_stream_t *d_audio;
ao_functions_t *audio_out; ao_functions_t *audio_out;
float begin_skip; ///< start time of the current skip while on edlout mode
play_tree_t *playtree; play_tree_t *playtree;
play_tree_iter_t *playtree_iter; play_tree_iter_t *playtree_iter;
int eof; int eof;
@ -58,6 +56,7 @@ typedef struct MPContext {
demuxer_t *demuxer; demuxer_t *demuxer;
sh_audio_t *sh_audio; sh_audio_t *sh_audio;
sh_video_t *sh_video; sh_video_t *sh_video;
demux_stream_t *d_audio;
demux_stream_t *d_video; demux_stream_t *d_video;
demux_stream_t *d_sub; demux_stream_t *d_sub;
mixer_t mixer; mixer_t mixer;
@ -67,6 +66,8 @@ typedef struct MPContext {
// struct. // struct.
int num_buffered_frames; int num_buffered_frames;
float begin_skip; ///< start time of the current skip while on edlout mode
// audio is muted if either EDL or user activates mute
short edl_muted; ///< Stores whether EDL is currently in muted mode. short edl_muted; ///< Stores whether EDL is currently in muted mode.
short user_muted; ///< Stores whether user wanted muted mode. short user_muted; ///< Stores whether user wanted muted mode.