Mercurial > mplayer.hg
comparison mplayer.c @ 22993:5e6fa9cabacc
big surprise.. uau broke gcc 2.95 as usual
author | rfelker |
---|---|
date | Tue, 17 Apr 2007 07:06:44 +0000 |
parents | 9c2c08ad519f |
children | 17bf4f4b0715 |
comparison
equal
deleted
inserted
replaced
22992:e8026449a338 | 22993:5e6fa9cabacc |
---|---|
191 #include "mp_fifo.h" | 191 #include "mp_fifo.h" |
192 int noconsolecontrols=0; | 192 int noconsolecontrols=0; |
193 //**************************************************************************// | 193 //**************************************************************************// |
194 | 194 |
195 // Not all functions in mplayer.c take the context as an argument yet | 195 // Not all functions in mplayer.c take the context as an argument yet |
196 static MPContext *mpctx = &(MPContext){ | 196 static MPContext mpctx_s = { |
197 .osd_function = OSD_PLAY, | 197 .osd_function = OSD_PLAY, |
198 .begin_skip = MP_NOPTS_VALUE, | 198 .begin_skip = MP_NOPTS_VALUE, |
199 .play_tree_step = 1, | 199 .play_tree_step = 1, |
200 .global_sub_pos = -1, | 200 .global_sub_pos = -1, |
201 .set_of_sub_pos = -1, | 201 .set_of_sub_pos = -1, |
202 .file_format = DEMUXER_TYPE_UNKNOWN, | 202 .file_format = DEMUXER_TYPE_UNKNOWN, |
203 #ifdef HAS_DVBIN_SUPPORT | 203 #ifdef HAS_DVBIN_SUPPORT |
204 .last_dvb_step = 1, | 204 .last_dvb_step = 1, |
205 #endif | 205 #endif |
206 }; | 206 }; |
207 | |
208 static MPContext *mpctx = &mpctx_s; | |
207 | 209 |
208 int fixed_vo=0; | 210 int fixed_vo=0; |
209 | 211 |
210 // benchmark: | 212 // benchmark: |
211 double video_time_usage=0; | 213 double video_time_usage=0; |