summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix redundant redeclaration warnings.diego2007-08-251-4/+0
| | | | 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.diego2007-08-251-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24170 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant extern variable declarations, include proper headers instead.diego2007-08-254-9/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24169 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.diego2007-08-251-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24168 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declarations.diego2007-08-251-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24167 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.diego2007-08-252-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24166 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declarations.diego2007-08-251-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24165 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.diego2007-08-251-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24164 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.diego2007-08-251-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24163 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix some unused variable warnings.diego2007-08-251-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24162 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r24158, it is not necessary with unsigned bitfieldreimar2007-08-251-4/+2
| | | | 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 valuesreimar2007-08-251-6/+6
| | | | | | | (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 r24137Gabrov2007-08-251-22/+53
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24159 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack around broken bitfields in gcc 4.2reimar2007-08-251-2/+4
| | | | 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.reimar2007-08-251-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24157 b3059339-0415-0410-9bf9-f77b7e298cf2
* HACK: check added fds for validity because otherwise mplayerreimar2007-08-251-0/+12
| | | | | | | 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 warningsreimar2007-08-251-6/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24155 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle queued commands from input event functions immediatelyuau2007-08-251-0/+6
| | | | | | | | | 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 xvuau2007-08-251-0/+4
| | | | | | | | | 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+vouau2007-08-253-3/+30
| | | | | | | | | | | 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 inputuau2007-08-251-195/+117
| | | | | | | | | | | | | | | 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 somewhatuau2007-08-251-69/+102
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24150 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make terminal input work more like VO key inputuau2007-08-255-21/+26
| | | | | | | | | | | | | | | | | 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 functionuau2007-08-251-18/+1
| | | | | | | | | 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.cuau2007-08-251-28/+25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24147 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration.diego2007-08-251-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24146 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix unused variable warning.diego2007-08-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24145 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing pixelformat conversion function prototypereimar2007-08-241-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24144 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move Apple gcc AltiVec vector declaration syntax to libavutil.diego2007-08-242-12/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24143 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add -mstackrealign to CFLAGS on Darwin, fixes loading WMV9 DLL.diego2007-08-241-0/+2
| | | | | | | patch by Ulion, ulion2002 gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24142 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant extern variable declaration.diego2007-08-241-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24141 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix unused variable warning.diego2007-08-241-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24140 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable.diego2007-08-241-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24139 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove silly #ifdef around the complete file.diego2007-08-241-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24138 b3059339-0415-0410-9bf9-f77b7e298cf2
* misc markup fixesdiego2007-08-241-20/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24137 b3059339-0415-0410-9bf9-f77b7e298cf2
* Wording and markup improvements for the -tvscan option.diego2007-08-241-8/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24136 b3059339-0415-0410-9bf9-f77b7e298cf2
* Leading underscores in identifiers are forbidden.diego2007-08-241-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24135 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove fallback round implementation that is protected by a preprocessordiego2007-08-241-7/+0
| | | | | | | directive that configure never sets or checks for. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24134 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused extern variable declaration.diego2007-08-241-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24133 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant variable declaration along with the corresponding warning.diego2007-08-241-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24132 b3059339-0415-0410-9bf9-f77b7e298cf2
* 1000l: Revert stray hunk that crept in with last commit.diego2007-08-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24131 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use consistent include path.diego2007-08-241-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24130 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed uninitialized variable.cehoyos2007-08-231-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24129 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use new request_channelsreimar2007-08-231-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24128 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l typo: ENTER --> KPENTERdiego2007-08-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24127 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix KPENTER keycode value on Mac OS X.diego2007-08-231-1/+1
| | | | | | | patch by Ulion, ulion2002 gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24126 b3059339-0415-0410-9bf9-f77b7e298cf2
* Automatic TV channels scanning ability for MPlayer.voroshil2007-08-2312-1/+187
| | | | | | | Code is based on patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24125 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix blue color for yv12 and i420 image formats in "automute" screenvoroshil2007-08-231-5/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24124 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation of live555 support after FFmpegs r10173.cehoyos2007-08-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24123 b3059339-0415-0410-9bf9-f77b7e298cf2
* CONFIG_DARWIN was removed from FFmpeg.diego2007-08-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24122 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename CONFIG_DARWIN to SYS_DARWIN, it is not configurable (in FFmpeg).diego2007-08-222-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24121 b3059339-0415-0410-9bf9-f77b7e298cf2
* Finally fix --enable-debug compilationreimar2007-08-221-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24120 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix [soc:eoc] stubs.voroshil2007-08-221-6/+10
| | | | | | | | Slightly modified patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24119 b3059339-0415-0410-9bf9-f77b7e298cf2
* r24050: MP3 audio encoder was renamed to libmp3lame in FFmpeg.voroshil2007-08-221-46/+76
| | | | | | | | | | | | r24055: Document how to encode with some libavcodec audio codecs. r24056: AC3 --> AC-3 r24063: Document how to encode with some more libavcodec audio codecs. r24084: small libavcodec audio codec clarifications r24109: Sort libavcodec encoders. r24110: Add some missing libavcodec video encoders. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24118 b3059339-0415-0410-9bf9-f77b7e298cf2
* r24030: Document special A-V sync issues with FLV filesvoroshil2007-08-227-73/+280
| | | | | | | | | | | | r24035: Add <application> tag around MEncoder r24045: Change "object type complexity" parameter of FAAC in the r24056: AC3 --> AC-3 r24082: Explicitly mention the need to rebuild MPlayer after installing AMR libs. r24087: Reorder installation requirements list, wording/spelling. r24089: Complete the list of libavcodec audio encoders. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24117 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync tag updatevoroshil2007-08-221-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24116 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove Windows-only replacement gettimeofday() implementation, both Cygwindiego2007-08-212-16/+24
| | | | | | | and MinGW have gettimeofday() in recent versions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24115 b3059339-0415-0410-9bf9-f77b7e298cf2
* Set DVD speed earlier to avoid drive spinup during openreimar2007-08-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24114 b3059339-0415-0410-9bf9-f77b7e298cf2
* synced with r24110Gabrov2007-08-211-30/+38
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24113 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary OSD visibility codeuau2007-08-211-2/+0
| | | | | | | | | | | | | | Don't set osd_visible directly in seek code. It's usually set to the same value by set_osd_bar() already. In the cases where set_osd_bar() is not called or doesn't set it (seek is triggered by EDL or loop, or there is no video output) it seems to make no difference. This fixes a minor bug: if you set OSD level to disabled while the progress bar was visible then doing seeks before it disappeared would keep it visible but not change its value. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24112 b3059339-0415-0410-9bf9-f77b7e298cf2
* Minor code cleanupuau2007-08-211-13/+13
| | | | | | | | Move timed hiding of OSD progress bar to the same place where OSD messages are timed out. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24111 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add some missing libavcodec video encoders.diego2007-08-201-0/+8
| | | | | | | based on a patch by A C Hurst, A.Hurst sheffield.ac uk git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24110 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sort libavcodec encoders.diego2007-08-201-28/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24109 b3059339-0415-0410-9bf9-f77b7e298cf2
* reimplemented nav_read_PCI() and nav_read_DSI() using getbits() rather than ↵nicodvb2007-08-202-105/+123
| | | | | | relying on bitfields layout in memory git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24108 b3059339-0415-0410-9bf9-f77b7e298cf2
* Runtime-patching for windows to fix crash with drv43260.dll reimar2007-08-201-0/+44
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24107 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove gconvert_uri_to_filename() and use url_unescape_string() instead.iive2007-08-203-51/+2
| | | | | | | | | | | | | | reasons: * gconvert strdup()s the original string, but it may exit without returning or freeing it. * gconvert returns the original pointer when no % escaping is done. It is then free()ed and used in that state. * gconvert doesn't consider that % may be at the end of the string and could continue parsing past the end. * gconvert would try to free() pointer that iconv() have modified. * gconvert would try to convert filenames from utf-8 to iso8859-1. Seems like no other DnD programs convert to utf-8 and/or honors CHARSET. Not converting seems to work best. Fix it if problem arises. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24106 b3059339-0415-0410-9bf9-f77b7e298cf2
* We can support SEEK_END seeks only when stream->end_pos is knownreimar2007-08-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24105 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for AVSEEK_SIZE in demux_lavfreimar2007-08-201-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24104 b3059339-0415-0410-9bf9-f77b7e298cf2
* -subfps makes sense for frame-based subtitle formats as well!reimar2007-08-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24103 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not seek to an invalid position.reimar2007-08-191-0/+2
| | | | | | | Patch by {emild [at] cs technion ac il} git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24102 b3059339-0415-0410-9bf9-f77b7e298cf2
* added from dvdnav's dvdread getbits() code to be used in forthcoming patch ↵nicodvb2007-08-191-0/+70
| | | | | | to read correctly NAV data git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24101 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace dvdread bswap.h by something more sane for us.reimar2007-08-192-209/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24100 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a bug in stream_read_qword_le due to sign extension from int to uint64_t.reimar2007-08-191-8/+2
| | | | | | | Patch by Sean Veers [cf3cf3 gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24099 b3059339-0415-0410-9bf9-f77b7e298cf2
* added proper e-mail addressnplourde2007-08-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24098 b3059339-0415-0410-9bf9-f77b7e298cf2
* added double click support in vo_macosx. Patch by Ulion <ulion2002@gmail.com>nplourde2007-08-182-5/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24097 b3059339-0415-0410-9bf9-f77b7e298cf2
* Functions that do not return a value must be void