summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix code to make sure the browse starting path within the menu-chroot path.ulion2007-11-261-16/+26
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25162 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, removing the conditional bitfields from (audio|sub)_mapping_t requires ↵nicodvb2007-11-251-0/+4
| | | | | | the big->native conversion git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25161 b3059339-0415-0410-9bf9-f77b7e298cf2
* Restore copyright/license notices that were stripped off.diego2007-11-2518-0/+603
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25160 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove mapdev.vxd. It is a non-free Win9x/DOS binary and its usage remainsdiego2007-11-253-76/+0
| | | | | | | | | obscure. In the unlikely case that someone should need it, it is archived at http://www1.mplayerhq.hu/MPlayer/contrib/win32/ Blessed by Benjamin. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25159 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make up missed update for osd message.ulion2007-11-251-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25158 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support select subtitle by source, add 4 properties:ulion2007-11-254-2/+228
| | | | | | | | | | | | | 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
* Since FFmpeg r11077, some muxers/demuxers don't exist in libavformat anymore.cehoyos2007-11-241-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25156 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r25089 (Ignore video formats which are supported by devicevoroshil2007-11-241-14/+3
| | | | | | | | | | | | | | but not supported by dshow driver). It prevents code from r25091 (probing undeclared formats) functioning properly: those code is never called if all declared by device formats are unsupported by MPlayer (even if undeclared one is supported). After this revert PVR-150 card should work as expected. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25155 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move requested format at top and shift all oters downvoroshil2007-11-241-8/+11
| | | | | | | | | This method is better with recent negotiation code: requested formats will be checked first. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25154 b3059339-0415-0410-9bf9-f77b7e298cf2
* Сreate empty format arrays in case of error in init_chain_common.voroshil2007-11-241-6/+27
| | | | | | | | | Fixes segfault for cards without audio capture pin in main capture filter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25153 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support convert 14-bit DTS stream into 16-bit stream if needed,ulion2007-11-241-6/+65
| | | | | | | | so we have space to add the IEC header for it. DTS WAV/CD normally is 14-bit LE format, now we can passthrough it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25152 b3059339-0415-0410-9bf9-f77b7e298cf2
* pgc->subp_control and pgc->audio_control are no more bitfields,nicodvb2007-11-231-20/+0
| | | | | | | | | but plain uint32_t and uint16_t respectively; replaced access to bitfield members with bitmask operations (and removed some ugly macro) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25151 b3059339-0415-0410-9bf9-f77b7e298cf2
* replaced audio_mapping_t and sub_mapping_t with uint16_t and uint32_tnicodvb2007-11-233-55/+6
| | | | | | | | | | respectively: conditional bitfields don't have the slightest chance to be cross-platform, thus they are definitively broken. Fixed the other files to use bitmasks instead of accessing the previous bitfield members git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25150 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memory leak of image_data.ulion2007-11-231-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25149 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a memory leak when working in shared_buffer mode.ulion2007-11-231-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25148 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check boundary for queue's current_index.ulion2007-11-231-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25147 b3059339-0415-0410-9bf9-f77b7e298cf2
* Clarify playtree explanation.diego2007-11-231-6/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25146 b3059339-0415-0410-9bf9-f77b7e298cf2
* Bring (de)muxer_lavf up to date with the libavformat API changes introduced ↵iive2007-11-232-5/+5
| | | | | | | | | | | by FFmpeg commit r11071. Patch for demuxer_lavf.c by Chris Welton - electrostatic_1 at yahoo Patch for muxer_lavf.c by me. Approved by michaelni. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25145 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable Theora supportlu_zero2007-11-231-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25144 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prevent from using data->len when data is NULL (when play() return NULL).ulion2007-11-231-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25143 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move the setCurrentTexture call into flip_page(), fix osd flicker problem.ulion2007-11-231-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25142 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix half-baked last commit.diego2007-11-221-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25141 b3059339-0415-0410-9bf9-f77b7e298cf2
* don't include anymore the dvdread headers from the dvdnav directorynicodvb2007-11-221-5/+0
| | | | | | | (the right ones are included in the #else). Patch by Rathann git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25140 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove ! operator hack, we require a POSIX-compatible-shell.diego2007-11-221-31/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25139 b3059339-0415-0410-9bf9-f77b7e298cf2
* Invert the logic to check the cmp return value cmp to avoid using the ! ↵diego2007-11-221-1/+1
| | | | | | | | | | | | operator. Useful on non-POSIX shells that do not support the ! operator. We normally require a POSIX-compatible shell, but in this case the change is acceptable since it does not complicate configure nor hurt readability. patch by Ralf Menzel, menzel ls6.cs.uni-dortmund de git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25138 b3059339-0415-0410-9bf9-f77b7e298cf2
* comment spelling/grammar fixesdiego2007-11-221-36/+31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25137 b3059339-0415-0410-9bf9-f77b7e298cf2
* mention VC-1/WMV MMX speed-up in the changeloggpoirier2007-11-221-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25136 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation error.iive2007-11-221-1/+1
| | | | | | | | | FFmpeg commit r11071 removed the static ByteIOContext from AVFormatContext and replaced it with a dynamic one. Thus muxer_lavf.c needs to be modified to reflect the change. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25135 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a wrong cmdline example of using -menu-chroot.ulion2007-11-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25134 b3059339-0415-0410-9bf9-f77b7e298cf2
* Compilation fix (typo)voroshil2007-11-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25133 b3059339-0415-0410-9bf9-f77b7e298cf2
* AAC support (aac-hbr only)lu_zero2007-11-211-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25132 b3059339-0415-0410-9bf9-f77b7e298cf2
* Media Format to fourcc conversion (from amol)lu_zero2007-11-211-22/+42
| | | | | | | Factorize out some if clauses git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25131 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make hwdts support more dts format identification, 14bits or 16bits, LE or BE.ulion2007-11-211-24/+128
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25130 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename timer-lx.c --> timer-linux.c.diego2007-11-212-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25129 b3059339-0415-0410-9bf9-f77b7e298cf2
* main() --> main(void)diego2007-11-216-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25128 b3059339-0415-0410-9bf9-f77b7e298cf2
* main() --> main(void)diego2007-11-211-14/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25127 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused function write_psm_block(), fixes the warning:diego2007-11-211-19/+0
| | | | | | | muxer_mpeg.c:763: warning: 'write_psm_block' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25126 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support dump AF_FORMAT_AC3 format.ulion2007-11-211-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25125 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sizes of arpmt and arStreamCaps must be equal.voroshil2007-11-211-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25124 b3059339-0415-0410-9bf9-f77b7e298cf2
* vcd://<n> now works for MinGW32 too, hence the updated doczuxy2007-11-211-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25123 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move code related to chain initialization and similarvoroshil2007-11-201-80/+78
| | | | | | | | for different chains to separate routine. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25122 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix mplayer crash caused by r25116voroshil2007-11-201-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25121 b3059339-0415-0410-9bf9-f77b7e298cf2
* Musepack SV8 lavc decoder supportkostya2007-11-202-0/+9
| | | | | | | Patch okayed by Diego on IRC git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25120 b3059339-0415-0410-9bf9-f77b7e298cf2
* Put colon inside replaceable tag.diego2007-11-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25119 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove no more needed checkvoroshil2007-11-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25118 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix totally wrong (due to mess of brackets) structures size check.voroshil2007-11-201-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25117 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace several parameters for get_available_formats_streamvoroshil2007-11-201-60/+24
| | | | | | | and get_available_formats_pin with one chain structure. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25116 b3059339-0415-0410-9bf9-f77b7e298cf2
* New routine for reconnecting two pins with new media typevoroshil2007-11-191-23/+68
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25115 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move pointer to SampleGrabber filter into chain structure.voroshil2007-11-191-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25114 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move common chain uninit code into separate routine.voroshil2007-11-191-52/+38
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25113 b3059339-0415-0410-9bf9-f77b7e298cf2
* pass chain structure instead of several variables to build_sub_graphvoroshil2007-11-191-18/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25112 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix missed changevoroshil2007-11-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25111 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add capture filter's pointer to vbi chain structure too.voroshil2007-11-191-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25110 b3059339-0415-0410-9bf9-f77b7e298cf2
* Code unification: get rid of local variable arpmtVBIvoroshil2007-11-191-4/+11
| | | | | | | | and use chain structure's arpmt member. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25109 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add major media type to chain structurevoroshil2007-11-191-6/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25108 b3059339-0415-0410-9bf9-f77b7e298cf2
* One step of code cleanup: move all variables, relatedvoroshil2007-11-191-204/+221
| | | | | | | | | to audio/video/vbi chains of filters into separate structure (will simplify some parts of code in future) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25107 b3059339-0415-0410-9bf9-f77b7e298cf2
* Let NSApp handle events when uninit to fix the delay dealloc bug of mpGLView.ulion2007-11-191-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25106 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l: Fix long standing copy-paste error:voroshil2007-11-191-1/+1
| | | | | | | TUN_SET_NORM should set norm value not get it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25105 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add padding and unroll loop 4x for at least another 10% speedupreimar2007-11-181-4/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25104 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change to a 64 bit accumulation variable instead of shifting.reimar2007-11-181-5/+5
| | | | | | | | Changing the way the loop is done is necessary to reduce register pressure. About 20% speedup even on 32 bit x86. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25103 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, *ppc++ was supposed to be replaced by ppc[i] in r25100, but that is ↵reimar2007-11-181-2/+0
| | | | | | | | | | not any faster. Just removing the += s->samples_overlap - s->num_channels; still provides a ca. 20% speedup on x86 (AThlon X2 64) with gcc 3.4 (compiler stupidity?) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25102 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use "long" instead of "int" for innermost loop variable.reimar2007-11-181-1/+2
| | | | | | | About 12% faster on x86_64 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25101 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rearrange scaletempo inner loop.reimar2007-11-181-2/+5
| | | | | | | Speedup on x86 with gcc 3.4 36%, on x86_64 with gcc 4.1 5% git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25100 b3059339-0415-0410-9bf9-f77b7e298cf2
* warn users to disable dvdread internal (at least for the moment: there'snicodvb2007-11-181-1/+3
| | | | | | | | something that prevents the correct identification of languages that I don't have time to investigate right now) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25099 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, someone mixed up && and ||, so if allocation of only one buffers failedreimar2007-11-181-1/+1
| | | | | | | that would not be detected. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25098 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid some casts by changing int8_t* to void* in af_scaletemporeimar2007-11-181-25/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25097 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add all passed to VID_SET_FORMAT formats to the end ofvoroshil2007-11-181-2/+27
| | | | | | | | | | | | | | | | available format list (but report call as failed, to continue checking formats). This gives small chance to build graph even if device does not report about particular format as supported. This makes mplayer be able to work with PVR-150 card (card's driver does not report about yuy2 format, but accepts connection and works with it). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25096 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ensure that when VID_GET_FORMAT ioctl is called,voroshil2007-11-181-0/+5
| | | | | | | | | | video chain in graph is ready built. Otherwise driver can return one format while graph builder will negotiate another. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25095 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) Indentation fix of previous commit.voroshil2007-11-181-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25094 b3059339-0415-0410-9bf9-f77b7e298cf2
* New media format negotiation code:voroshil2007-11-181-2/+14
| | | | | | | | | | | | | | loop through all available formats trying to establish connection between pins. Negotiation stops either when all formats are rejected (error reported in this case) or when connection is established (which can happen only when current media format is accepted by both of the pins). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25093 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move setting media format code voroshil2007-11-181-7/+6
| | | | | | | closer to connection establishment routine. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25092 b3059339-0415-0410-9bf9-f77b7e298cf2
* Pass all available formats to chain building routine andvoroshil2007-11-181-18/+30
| | | | | | | | | | | | | | | | establish connection with first of available formats. This will make further format negotiation patch slightly simpler. To avoid pins connection error due to unsuported format at top of the list, put requested video format to the top of list. This will also useful with upcoming patch - negotiation will be started from requested format. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25091 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, fix uint32_t* instead of uint32_t typo in demux_mf type->fourcc tablereimar2007-11-181-1/+1
| |