aboutsummaryrefslogtreecommitdiffhomepage
path: root/command.c
Commit message (Collapse)AuthorAge
* Support select subtitle by source, add 4 properties:Gravatar ulion2007-11-25
| | | | | | | | | | | | | 1. sub_source for current sub source (sub file, vobsub, or from demuxer). 2. sub_file for all subtitles from files. 3. sub_vobsub for all subtitles from vobsub. 4. sub_demux for all subtitles from demuxer. Now mplayer can supply a stable and clear interface to external programs using mplayer in slave mode to select a subtitle by its source and its unique id for that source printed by mplayer using -identify parameter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25157 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix pausing_toggle not continue play bug when it follows a pause immediately.Gravatar ulion2007-11-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25060 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement X/27/0 packet decoding.Gravatar voroshil2007-08-28
| | | | | | | | | 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 linkGravatar diego2007-08-28
| | | | | | | | 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 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
* 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
* 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
* Automatic TV channels scanning ability for MPlayer.Gravatar voroshil2007-08-23
| | | | | | | 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.Gravatar voroshil2007-07-29
| | | | | | | 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.Gravatar reimar2007-07-25
| | | | | | | | "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_subtitlesGravatar reimar2007-07-25
| | | | | | | | 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'tGravatar reimar2007-07-15
| | | | | | | | 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 lavfGravatar aurel2007-07-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23778 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10L, sub_scale need freetype, add the #ifdef.Gravatar albeu2007-07-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23760 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a loop command and property.Gravatar albeu2007-07-09
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23747 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add the sub_scale property and command.Gravatar albeu2007-07-09
| | | | | | | 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 forGravatar reimar2007-06-24
| | | | | | | 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.Gravatar voroshil2007-06-21
| | | | | | | | | 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.Gravatar zuxy2007-06-20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23588 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge (trivial) dvdnav and dvdread subtitle selection codeGravatar reimar2007-06-17
| | | | 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 boundsGravatar reimar2007-06-17
| | | | | | | 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)Gravatar voroshil2007-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.Gravatar albeu2007-05-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23436 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make the length property use the time type.Gravatar albeu2007-05-31
| | | | 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.Gravatar albeu2007-05-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23434 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow setting the direction in the step_property command.Gravatar albeu2007-05-31
| | | | 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 withGravatar albeu2007-05-31
| | | | | | | all numerical types. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23429 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add PRINT to the samplerate property.Gravatar albeu2007-05-30
| | | | 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.Gravatar albeu2007-05-29
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23412 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rework the property API to allow sub properties such asGravatar albeu2007-05-29
| | | | | | | metadata/title, etc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23411 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetic: indentGravatar ben2007-05-08
| | | | 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 fileGravatar ben2007-05-08
| | | | 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 ↵Gravatar ben2007-05-08
| | | | | | dot com>) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Gui --> guiGravatar diego2007-04-23
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23095 b3059339-0415-0410-9bf9-f77b7e298cf2
* New slave command: tv_step_freq <offset in MHz>Gravatar voroshil2007-03-17
| | | | | | | 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.Gravatar uau2007-03-11
| | | | | | | | 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.Gravatar uau2007-03-09
| | | | | | | (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.3Gravatar ivo2007-02-21
| | | | 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.Gravatar uau2007-02-21
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