summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix bashism: Use '$(( ))' syntax instead of '(( ))' for arithmetic expressions.diego2009-09-101-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29669 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add w64 to list of preferred lavf formats (otherwise demux_audio incorrectlyreimar2009-09-101-0/+1
| | | | | | | | claims the Wave64 files but can not handle them). Patch by Daniel Verkamp [daniel drv nu]. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29668 b3059339-0415-0410-9bf9-f77b7e298cf2
* Sort preferred_list alphabetically since the order does not matter otherwise.reimar2009-09-101-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29667 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always keep a backup of the expand values from the command-line, so valuesreimar2009-09-101-8/+19
| | | | | | | | will be recalculated correctly e.g. after aspect change and -vf expand=aspect=4/3 command line. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29666 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document that slices can be bottom to top or top to bottom.ramiro2009-09-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29665 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add CODEC_ID_ADPCM_IMA_AMV to lavf codec_tag override list instead ofreimar2009-09-082-2/+1
| | | | | | | reimplementing that functionality. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29664 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make all mp_*_taglists const.reimar2009-09-081-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29663 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow disabling and enabling lower-case codecs.cehoyos2009-09-081-10/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29662 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make (no)t23 suboption description more consistent.diego2009-09-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29661 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix an endless loop if all programs are empty.reimar2009-09-081-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29660 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make indentation consistent with the rest of the filereimar2009-09-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29659 b3059339-0415-0410-9bf9-f77b7e298cf2
* Never switch to a program with no audio and no video.reimar2009-09-081-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29658 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always register all streams from libavformat, not just those belonging to a ↵reimar2009-09-081-5/+3
| | | | | | program. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29657 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, forgot to use "test" for checking the value of the quicktime variablereimar2009-09-081-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29656 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for lavf vqf demuxer and lavc TwinVQ decoder.vitor2009-09-074-1/+11
| | | | | | | | | Also make lavf the default demuxer for vqf. Ok'ed by Compn on IRC. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29655 b3059339-0415-0410-9bf9-f77b7e298cf2
* Indent.ramiro2009-09-072-53/+53
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid bash-specific 'let' syntax in shell scripts.diego2009-09-071-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29653 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename CHECKED_ALLOC(Z) to FF_ALLOC(Z)_OR_GOTO and add context and labelramiro2009-09-061-20/+20
| | | | | | | parameters. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29652 b3059339-0415-0410-9bf9-f77b7e298cf2
* Indent.ramiro2009-09-051-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29651 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make 16bit YUV formats compatible with NE avcodec_get_pix_fmt().ramiro2009-09-053-54/+54
| | | | | | Patch by Lars Täuber <lars <dot> taeuber <at> gmx <dot> net>. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29650 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add standard license header and move a misplaced comment.reimar2009-09-051-1/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29649 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync with en/mplayer.1 r29638jrash2009-09-051-6/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29648 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix grammar mistake noticed by Alexander Strasser.diego2009-09-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29647 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factor out duplicated code to set play video scaled by a certain factor.reimar2009-09-041-39/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29646 b3059339-0415-0410-9bf9-f77b7e298cf2
* Subopt parser subopts should now be const.reimar2009-09-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29645 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, -framework QuickTime must be added to extra_ldflags, not libs_mplayer sincereimar2009-09-041-1/+1
| | | | | | | | | QuickTime is used also in mencoder (in the audio and video decoders and possibly from demux_mov, even though the latter one should only use the includes and not require linking). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29644 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable liba52 SSE imdct for x86_64+PIC (e.g. OSX 64 bit) since it willreimar2009-09-042-4/+12
| | | | | | | not compile for that combination. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29643 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support x86_64 + PIC in mangle.h, needed for OS X 64 bit compiles.reimar2009-09-041-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29642 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split QuickTime check off from quartz check and use the result to enable/disablereimar2009-09-041-8/+27
| | | | | | | | the QTX codec support. This is necessary since 64 bit compiles on OS X 10.5 at least do not support QuickTime. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29641 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, SIZE_MAX must be UINT_MAX to prevent an integer overflow later on,reimar2009-09-041-1/+1
| | | | | | | also it is preferable if demuxer parsing does not differ between architectures. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29640 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move OpenGL test below CoreVideo. This ensures -lGL will come after ↵reimar2009-09-041-53/+55
| | | | | | | | | -framework OpenGL which resolves vo_corevideo crashes due to namespace conflicts (e.g. glEnable, glBegin, ...). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29639 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improve wording for file/directory specific config file explanation.reimar2009-09-031-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29638 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l, fix misplaced check in r29613, for loop detection we must comparereimar2009-09-021-1/+1
| | | | | | | | current file name against full name to be added, not current file name against new base path. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29637 b3059339-0415-0410-9bf9-f77b7e298cf2
* Limit amount of data allocated on stack, strlen(filename) is not a good idea forreimar2009-09-021-2/+6
| | | | | | | file name strings that might come from arbitrary playlists, use PATH_MAX instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29636 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document directory-specific configuration file.reimar2009-09-021-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29635 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for directory-specific mplayer.conf configuration file.reimar2009-09-021-3/+11
| | | | | | | Patch by Christian P. Schmidt "schmidt digadd de" git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29634 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable ffwmaprofaust32009-09-021-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29633 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use sizeof(variable) instead of sizeof(type) where easily possible.reimar2009-09-021-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29632 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: get rid of many pointless ()reimar2009-09-021-17/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29631 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce code duplication for half/normal/double video size handling.reimar2009-09-021-31/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29630 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused variable.reimar2009-09-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29629 b3059339-0415-0410-9bf9-f77b7e298cf2
* The suboption parser now takes a const options list, so mark them all const.reimar2009-09-027-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29628 b3059339-0415-0410-9bf9-f77b7e298cf2
* free(), delete and delete[] are all different and can't just be used at random,reimar2009-09-021-2/+2
| | | | | | | so change code to use the one appropriate for the allocation used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29627 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix possible crashes with invalid SDPs that result in stream descriptionsreimar2009-09-022-1/+4
| | | | | | | not being initialized. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29626 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix several more rtsp-related memleaks.reimar2009-09-023-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29625 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix asmrp_dispose to also free the buffer.reimar2009-09-021-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29624 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use calloc to ensure rmff_new_mdpr returns fully initialized data.reimar2009-09-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29623 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move variable declaration to where it is used.reimar2009-09-021-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29622 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure we do not strdup(NULL), avoids a crash with non-real streams.reimar2009-09-021-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29621 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix several memleaks in real_setup_and_get_headerreimar2009-09-021-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29620 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change real_setup_and_get_header to use goto a single exit path to simplifyreimar2009-09-021-11/+7
| | | | | | | proper freeing of allocated data. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29619 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_quartz: change deallocation/uninit to more reliably free allocated data.reimar2009-09-021-29/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29618 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make glContext a local variable, it is not needed outside the functionreimar2009-09-012-3/+2
| | | | | | | where it is allocated, reference counting takes care of freeing it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29617 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a dealloc function to corevideo to reduce the memleaks fromreimar2009-09-011-0/+11
| | | | | | | (for my sample) about 12 MB to 2 MB. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29616 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix some of the major memleaks of vo_corevideo with -fixed-voreimar2009-09-011-24/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29615 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not do a unmap/map cycle on Windows given with -wid, with some windowreimar2009-09-011-2/+1
| | | | | | | | managers this has the ugly side-effect of moving the window. Instead call XInstallColormap to ensure the Colormap is installed. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29614 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make the loop detection for mov reference files less aggressive, fixesreimar2009-09-011-1/+5
| | | | | | | playback of http://stream.qtv.apple.com/qtv/wgbh/http/nova_eu/nova_eu_3012c01_mp4_ref.mov git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29613 b3059339-0415-0410-9bf9-f77b7e298cf2
* Check setGlWindow return value to fail properly instead of crashing if e.g.reimar2009-09-012-2/+4
| | | | | | | no OpenGL support is available. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29612 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a hack to ensure data from e.g. mov format -subfile gets read at allreimar2009-09-011-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29611 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack demux_demuxers so that demux_demuxers_fill_buffer is actually called.reimar2009-09-011-3/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29610 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make shm_fd a local variable and close it when we need it no longer, thusreimar2009-09-011-1/+3
| | | | | | | fixing a file descriptor leak. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29609 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce vo_corevideo memleaks by initializing static context etc. only oncereimar2009-09-011-14/+26
| | | | | | | in preinit and freeing the video-specific data before reallocating in config. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29608 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix memleak when using fontconfig without a font name.reimar2009-09-011-3/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29607 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use MPlayer's standard aspect handling functions in corevideoreimar2009-09-012-100/+30
| | | | | | | instead of reimplementing them incompletely. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29606 b3059339-0415-0410-9bf9-f77b7e298cf2
* The libamrnb *en*coder, not the *de*coder should be added to the list ofdiego2009-09-011-1/+1
| | | | | | | | encoders to enable in libavcodec. patch by Wang William, william0wang gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29605 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix per-file config file loading for DOS paths (i.e. where \ and : canreimar2009-08-311-1/+10
| | | | | | | also separate path and file name). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29604 b3059339-0415-0410-9bf9-f77b7e298cf2
* Factor out code to try and load a config file only if it exists.reimar2009-08-311-11/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29603 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move variable declaration into block where it is used and make it const.reimar2009-08-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29602 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make m_config_parse_config_file file name argument constreimar2009-08-312-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29601 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix MPEG-4 ASP in MPEG transport streams with -demuxer lavf.cehoyos2009-08-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29600 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix EAC3 in MPEG transport streams with -demuxer lavf.cehoyos2009-08-311-0/+1
| | | | | | | Patch by Wang William, william0wang gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29599 b3059339-0415-0410-9bf9-f77b7e298cf2
* Also check linker flags to make sure that liveMedia libraries are there, too,reimar2009-08-311-2/+3
| | | | | | | not just the headers. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29598 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix DTS in MPEG transport streams with -demuxer lavf.cehoyos2009-08-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29597 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix AAC in MPEG transport stream for -demuxer lavf.cehoyos2009-08-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29596 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: alphabetically order listsdiego2009-08-311-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29595 b3059339-0415-0410-9bf9-f77b7e298cf2
* bpcm is internal mplayer fourcccompn2009-08-301-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29594 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename mp_wav_override_tag* as mp_codecid_override_tag* to reflect thatcehoyos2009-08-303-4/+6
| | | | | | | it now can be used for both audio and video. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29593 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r29404.cehoyos2009-08-301-2/+0
| | | | | | | Playing H264 in ts files should now always work without this workaround. git-svn-id: svn