aboutsummaryrefslogtreecommitdiffhomepage
Commit message (Collapse)AuthorAge
* warning fix:Gravatar diego2007-08-25
| | | | | | | | mmap_anon.c: In function 'mmap_anon': mmap_anon.c:37: warning: unused variable 'fd' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24194 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warning:Gravatar diego2007-08-25
| | | | | | | | | | In file included from layer3.c:1171, from sr1.c:391: decod386.c:106: warning: redundant redeclaration of 'synth_1to1_MMX' mpg123.h:120: warning: previous declaration of 'synth_1to1_MMX' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24193 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:Gravatar diego2007-08-25
| | | | | | | | demux_mov.c:44: warning: redundant redeclaration of 'vo_sub' ../libvo/sub.h:64: warning: previous declaration of 'vo_sub' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24192 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warning:Gravatar diego2007-08-25
| | | | | | | af_sinesuppress.c:34: warning: 'play_float' declared 'static' but never defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24191 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless variable declaration, the code that sets it is long-gone.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24190 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: "&" should be done after ">>"Gravatar voroshil2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24189 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove stray comment, the code it commented is long-gone.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24188 b3059339-0415-0410-9bf9-f77b7e298cf2
* Language bits in teletext page header areGravatar voroshil2007-08-25
| | | | | | | | control bits C12-C14 (bits 2-4 of d[7]), not C11-C13 (bits 1-3). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24187 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warnings:Gravatar diego2007-08-25
| | | | | | | | | vo_directfb2.c:1296: warning: unused variable 'rect' vo_directfb2.c:1295: warning: unused variable 'dsc' vo_directfb2.c:1294: warning: unused variable 'tmp' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24186 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warning:Gravatar diego2007-08-25
| | | | | | | | mplayer.c: In function 'generate_video_frame': mplayer.c:1631: warning: implicit declaration of function 'update_teletext' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24185 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warnings:Gravatar diego2007-08-25
| | | | | | | | | | | | mplayer.c:316: warning: redundant redeclaration of 'vo_subdevice' libvo/video_out.h:237: warning: previous declaration of 'vo_subdevice' was here mplayer.c:317: warning: redundant redeclaration of 'ao_subdevice' libao2/audio_out.h:44: warning: previous declaration of 'ao_subdevice' was here mplayer.c:320: warning: redundant redeclaration of 'vo_flags' libvo/video_out.h:189: warning: previous declaration of 'vo_flags' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24184 b3059339-0415-0410-9bf9-f77b7e298cf2
* Extract a poor int declaration from within the uncouth grip of an if statementGravatar diego2007-08-25
| | | | | | | where it lay stranded in violation of both syntax and decency. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24183 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warnings:Gravatar diego2007-08-25
| | | | | | | | | | | | In file included from mplayer.c:191: mp_fifo.h:5: warning: redundant redeclaration of 'mplayer_put_key' mp_core.h:129: warning: previous declaration of 'mplayer_put_key' was here In file included from command.c:59: mp_fifo.h:5: warning: redundant redeclaration of 'mplayer_put_key' mp_core.h:129: warning: previous declaration of 'mplayer_put_key' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24182 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warning:Gravatar diego2007-08-25
| | | | | | | | mencoder.c:137: warning: redundant redeclaration of 'verbose' mp_msg.h:6: warning: previous declaration of 'verbose' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24181 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document xorg.conf option needed for Xv playback on Intel cards.Gravatar rathann2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24180 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warning:Gravatar diego2007-08-25
| | | | | | | | vo_xvidix.c:75: warning: redundant redeclaration of 'xinerama_screen' video_out.h:193: warning: previous declaration of 'xinerama_screen' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24179 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warnings:Gravatar diego2007-08-25
| | | | | | | | | | | | In file included from mplayer.c:341: libass/ass_mp.h:27: warning: redundant redeclaration of 'ass_enabled' mp_core.h:115: warning: previous declaration of 'ass_enabled' was here In file included from command.c:58: mp_core.h:115: warning: redundant redeclaration of 'ass_enabled' libass/ass_mp.h:27: warning: previous declaration of 'ass_enabled' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24178 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warnings:Gravatar diego2007-08-25
| | | | | | | | | | | | | | | In file included from mplayer.c:380: mpcommon.h:5: warning: redundant redeclaration of 'subdata' libvo/sub.h:63: warning: previous declaration of 'subdata' was here In file included from command.c:26: mpcommon.h:5: warning: redundant redeclaration of 'subdata' libvo/sub.h:63: warning: previous declaration of 'subdata' was here In file included from mencoder.c:239: mpcommon.h:5: warning: redundant redeclaration of 'subdata' libvo/sub.h:63: warning: previous declaration of 'subdata' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24177 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add multiple inclusion guards.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24176 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warning:Gravatar diego2007-08-25
| | | | | | | | vo_dfbmga.c:231: warning: redundant redeclaration of 'uninit' video_out_internal.h:37: warning: previous declaration of 'uninit' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24175 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move button variable into the if () where it is actually used.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24174 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant extern declarations, #include the right headers instead.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24173 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync w/r24084Gravatar gpoirier2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24172 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix redundant redeclaration warnings.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24171 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix unused variable warning when USE_DVDNAV is not defined.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24170 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant extern variable declarations, include proper headers instead.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24169 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24168 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declarations.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24167 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24166 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declarations.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24165 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24164 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24163 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix some unused variable warnings.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24162 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r24158, it is not necessary with unsigned bitfieldGravatar reimar2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24161 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change bitfield to unsigned so that we get the usual truth valuesGravatar reimar2007-08-25
| | | | | | | (1 = true, 0 = false) instead of -1 for true. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24160 b3059339-0415-0410-9bf9-f77b7e298cf2
* synced with r24137Gravatar Gabrov2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24159 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack around broken bitfields in gcc 4.2Gravatar reimar2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24158 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix invalid fd check, the bug is somewhere else though.Gravatar reimar2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24157 b3059339-0415-0410-9bf9-f77b7e298cf2
* HACK: check added fds for validity because otherwise mplayerGravatar reimar2007-08-25
| | | | | | | crashes due to using FD_SET on -1 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24156 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix loads of warningsGravatar reimar2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24155 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle queued commands from input event functions immediatelyGravatar uau2007-08-25
| | | | | | | | | Check whether an event handler called mp_input_queue_cmd and return the command immediately if so. Currently x11_common.c creates commands from mouse position updates. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24154 b3059339-0415-0410-9bf9-f77b7e298cf2
* Watch X11 fd in main input select() if using vo xvGravatar uau2007-08-25
| | | | | | | | | Add the X11 fd to main input select() set, and call VO check_events() if it becomes readable. Only done in vo xv code for now, though would make sense for other X11-based VOs too. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24153 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add separate event input type for terminal+voGravatar uau2007-08-25
| | | | | | | | | | | Add an input/input.c fd type whose read function takes no arguments and returns no value. If such a function reads key or command events it'll add them to the queues itself. Use this type for terminal input which was special-cased before. The event function for X11-based VOs will use the same type later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24152 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use a single select() for both key and slave inputGravatar uau2007-08-25
| | | | | | | | | | | | | | | Previous code used two separate select() calls one after another, so that whenever it was running select() on one set of fds events in the other set would go unnoticed until later. Now there's a single select() which allows reacting immediately to any input source. The behavior of the new code differs somewhat from the old; for example multiple fds that stay readable are no longer handled in a round-robin fashion and the total amount the process sleeps can differ. Some tuning might be required later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24151 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clean up getch2() code somewhatGravatar uau2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24150 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make terminal input work more like VO key inputGravatar uau2007-08-25
| | | | | | | | | | | | | | | | | The Unix version of getch2() could either return an internally buffered key or do a second-level select() in addition to the input.c one and then read more data. Change getch2() to always add all read keys with mplayer_put_key() (like video output window keyboard input does) and remove the internal select() from the Unix version. Make input.c call mplayer_get_key() directly. The primary motivation for this change is to make combining multiple event sources under one select() easier. Now getch2() only needs to be called when the corresponding fd is readable, and it will be possible to handle events from X-based VOs with the same code. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24149 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused functionGravatar uau2007-08-25
| | | | | | | | | The only case which does not override mp_input_default_key_func in mp_input_add_key_fd() is fd 0, but that is later special-cased not to use the input function at all. Remove the useless default function. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24148 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use bitfield instead of manual bit fiddling in input.cGravatar uau2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24147 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24146 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix unused variable warning.Gravatar diego2007-08-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24145 b3059339-0415-0410-9bf9-f77b7e298cf2