summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25090 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ignore video formats which are supported by devicevoroshil2007-11-181-3/+14
| | | | | | | | but not supported by dshow driver. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25089 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix crash when pin connection fails.voroshil2007-11-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25088 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prevent chains from building more than once.voroshil2007-11-181-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25087 b3059339-0415-0410-9bf9-f77b7e298cf2
* Handle "out of memory" error.voroshil2007-11-181-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25086 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move chains building code into separate routines.voroshil2007-11-181-18/+71
| | | | | | | | | This makes code more readable and will allow building particular chain before start(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25085 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a wish which is available in some filters and players on win32.ulion2007-11-181-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25084 b3059339-0415-0410-9bf9-f77b7e298cf2
* mention the new build systemnicodvb2007-11-171-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25083 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) Lookup table alignment.voroshil2007-11-171-12/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25082 b3059339-0415-0410-9bf9-f77b7e298cf2
* Service routine for constructing AM_MEDIA_TYPE structure from voroshil2007-11-171-0/+47
| | | | | | | | given fourcc with help of lookup table. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25081 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable terminating directshow chains with NullRenderer filter,voroshil2007-11-171-0/+7
| | | | | | | | bacause this causes jerky video. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25080 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix bogus bits per pixel values in lookup table.voroshil2007-11-171-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25079 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cleanup sg_io_hdr initialization a bitreimar2007-11-171-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25078 b3059339-0415-0410-9bf9-f77b7e298cf2
* We do not have any use for the sense data, so we don't need a buffer for it.reimar2007-11-171-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25077 b3059339-0415-0410-9bf9-f77b7e298cf2
* (cosmetics) Indentation fixvoroshil2007-11-171