summaryrefslogtreecommitdiffstats
path: root/command.c
Commit message (Collapse)AuthorAgeFilesLines
* Implement X/27/0 packet decoding.voroshil2007-08-281-0/+7
| | | | | | | | | It contains information about navigation links. Modified patch from Otvos Attila oattila at chello dot hu git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24264 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clean up the way get_path is handled: Compile get_path.c to an object to linkdiego2007-08-281-0/+1
| | | | | | | | against instead of directly #including the C file and replace the many extern declarations by a proper header file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Extract a poor int declaration from within the uncouth grip of an if statementdiego2007-08-251-1/+1
| | | | | | | 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:diego2007-08-251-0/+1
| | | | | | | | | | | | 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
* Move button variable into the if () where it is actually used.diego2007-08-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24174 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
* Automatic TV channels scanning ability for MPlayer.voroshil2007-08-231-0/+4
| | | | | | | 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
* Teletext support.voroshil2007-07-291-0/+105
| | | | | | | Part 2/5: options/slaves/configure/definitions/etc git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23920 b3059339-0415-0410-9bf9-f77b7e298cf2
* subdata must be set to NULL when the corresponding data was freed.reimar2007-07-251-0/+2
| | | | | | | | "mp_input_queue_cmd(mp_input_parse_cmd("sub_select"));" will do this somewhen as well, but that might already be too late. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23858 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not set vo_sub to NULL on changing subtitles, update_subtitlesreimar2007-07-251-7/+0
| | | | | | | | will do this when called with reset == 1. Fixes subtitles getting stuck when switching via 'j'. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23857 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure that sub->id is -2 and sub->sh is NULL if subtitle doesn'treimar2007-07-151-0/+3
| | | | | | | | exist. Probably sanest way to avoid crash in e.g. mov demuxer without having to check both all the time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23786 b3059339-0415-0410-9bf9-f77b7e298cf2
* add support for subtitles thru lavfaurel2007-07-131-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23778 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10L, sub_scale need freetype, add the #ifdef.albeu2007-07-101-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23760 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a loop command and property.albeu2007-07-091-0/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23747 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the sub_scale property and command.albeu2007-07-091-0/+29
| | | | | | | Patch from Anatoli Marinov (anatoli [dot] marinov [at] gmail [dot] com). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23745 b3059339-0415-0410-9bf9-f77b7e298cf2
* Simplify and correct subtitle selection, no more special cases forreimar2007-06-241-17/+11
| | | | | | | DVD and Matroska and -sid should now always match the ID_* message. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23619 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r23530.voroshil2007-06-211-149/+0
| | | | | | | | | r23530 breaks policy: notification was not sent to mailing list, agreements of other devs were not received. Code also should be reviewed/cleaned up/fixed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23593 b3059339-0415-0410-9bf9-f77b7e298cf2
* The audio balance feature implemented with af_pan.zuxy2007-06-201-0/+54
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23588 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge (trivial) dvdnav and dvdread subtitle selection codereimar2007-06-171-11/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23569 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure we do not access demuxer->s_streams out of boundsreimar2007-06-171-2/+4
| | | | | | | when invalid -sid is given git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23568 b3059339-0415-0410-9bf9-f77b7e298cf2
* Teletext support for tv:// (v4l and v4l2 only)voroshil2007-06-101-0/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | modified patch from Otvos Attila oattila at chello dot hu Module uses zvbi library for all low-level VBI operations (like I/O with vbi device, converting vbi pages into usefull vbi_page stuctures, rendering them into RGB32 images). All teletext related stuff (except properties, slave commands and rendering osd in text mode or RGB32 rendered teletext pages in spu mode) is implemented in tvi_vbi.c New properties: teletext_page - switching between pages teletext_mode - switch between on/off/opaque/transparent modes teletext_format - (currently read-only) allows to get format info (black/white,gray,text) teletext_half_page - trivial zooming (displaying top/bottom half of teletext page) New slave commands: teletext_add_dec - user interface for jumping to any page by editing page number interactively teletext_go_link - goes though links, specified on current page git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23530 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add new properties percent_pos and time_pos.albeu2007-05-311-0/+61
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23436 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make the length property use the time type.albeu2007-05-311-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23435 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the time printing code out of the length property.albeu2007-05-311-22/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23434 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow setting the direction in the step_property command.albeu2007-05-311-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23430 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the step_property coammand to correctly handle the step size withalbeu2007-05-311-5/+30
| | | | | | | all numerical types. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23429 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add PRINT to the samplerate property.albeu2007-05-301-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23414 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make all the info available via the metadata API available via properties.albeu2007-05-291-2/+89
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23412 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rework the property API to allow sub properties such asalbeu2007-05-291-46/+30
| | | | | | | metadata/title, etc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23411 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetic: indentben2007-05-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23277 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetic: use K&R coding style, as in reste of the fileben2007-05-081-10/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23276 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for PVR channel navigation (patch by Sven Gothel <sgothel at jausoft ↵ben2007-05-081-0/+49
| | | | | | dot com>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Gui --> guidiego2007-04-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
* New slave command: tv_step_freq <offset in MHz>voroshil2007-03-171-0/+6
| | | | | | | Command sets the TV frequency relative to current value git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22685 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the sh_audio->delay field to mpctx->delay.uau2007-03-111-1/+1
| | | | | | | | The value is related to overall a/v sync and is not used by audio demuxers or decoders. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22506 b3059339-0415-0410-9bf9-f77b7e298cf2
* Include <string.h> explicitly.uau2007-03-091-0/+1
| | | | | | | (it was already present through other headers) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22501 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation with gcc 2.95.3ivo2007-02-211-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split command/property handling from mplayer.c to a new file command.c.uau2007-02-211-0/+2389
Move some global and static variables under a struct that can be given as a parameter. Add a context argument to the property functions so that they do not have to depend on global/static variables. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22298 b3059339-0415-0410-9bf9-f77b7e298cf2