summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* cosmetics: Remove some obsolete and misleading commentsdiego2010-11-022-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32482 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove #warning preprocessor directivesdiego2010-11-029-14/+13
| | | | | | | | The #warning preprocessor directive is non-standard and not available with all compilers. Furthermore, the warnings it causes are noisy and have not led to getting any of the underlying issues fixed in the space of a decade. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32480 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_gl: Extract code to read a pnm file into a separate functionreimar2010-11-021-24/+48
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32479 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: remove some #if 0 code from mplayer.creimar2010-11-021-8/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32468 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_dxr3: Fix validity checks before closing a file descriptorreimar2010-11-021-3/+3
| | | | | | -1 is invalid (and the initial value), 0 is not. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32467 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_dxr3: Fix indentationreimar2010-11-021-20/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32466 b3059339-0415-0410-9bf9-f77b7e298cf2
* vidix: Simplify code for writing to /proc/mtrrreimar2010-11-021-7/+3
| | | | | | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32462 b3059339-0415-0410-9bf9-f77b7e298cf2 Add a missing const to declaration. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32463 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_mga: minor code cleanupreimar2010-11-021-13/+16
| | | | | | | | | | | | | | Spelling fix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32459 b3059339-0415-0410-9bf9-f77b7e298cf2 Use FFALIGN macro. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32460 b3059339-0415-0410-9bf9-f77b7e298cf2 Spelling fix. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32461 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_xmga: Remove an unmotivated and pointless panscan_calc callreimar2010-11-021-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32458 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_xvidix: reconfigure also on window movereimar2010-11-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32457 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_xmga: fix event handlingreimar2010-11-021-4/+4
| | | | | | | Fix xmga event handling: Reconfigure hardware on move and resize, redraw colorkey on resize and expose. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32456 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_xmga: Remove a useless MGA_VID_CONFIG ioctlreimar2010-11-021-3/+0
| | | | | | set_window already does this. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32455 b3059339-0415-0410-9bf9-f77b7e298cf2
* x11_common: add VO_EVENT_MOVEreimar2010-11-022-2/+7
| | | | | | | | | Add VO_EVENT_MOVE which is required for VOs that interact directly with hardware like MGA and VIDIX. Patch by Dirk Porezag [porezag yahoo com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32454 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_mga: switch to newer screen dimension handling APIreimar2010-11-022-79/+23
| | | | | | | Switch (x)mga vo to new libvo API to reduce code duplication and improve consistency between vos. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32453 b3059339-0415-0410-9bf9-f77b7e298cf2
* aspect.c: use fallback if screen dimensions are not knownreimar2010-11-021-0/+6
| | | | | | | | | | | | Add fallback values to aspect_save_screenres to avoid division by 0 if screen dimensions are not known. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32452 b3059339-0415-0410-9bf9-f77b7e298cf2 Fix handling of invalid values in aspect_save_screenres to not overwrite valid values. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32481 b3059339-0415-0410-9bf9-f77b7e298cf2
* ao_coreaudio: byteswap AC-3 streams on little-endiandiego2010-11-021-0/+4
| | | | | | patch by Sean McGovern, gseanmcg gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32450 b3059339-0415-0410-9bf9-f77b7e298cf2
* DOCS/man: Add missing values for the chanlist suboption of -tvdiego2010-11-029-9/+27
| | | | | | patch by Giorgio Vazzana, mywing81 gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32447 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux_ts: fix subtitle stream breaking audio track switchcehoyos2010-11-021-2/+3
| | | | | | | | | Fix switching audio track with the native MPEG-TS demuxer after an additional subtitle stream was detected. Patch by KS Ng, hk D dmbth A gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32445 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Ensure that CONFIG_NETWORK is #defined to 0 or 1diego2010-11-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32441 b3059339-0415-0410-9bf9-f77b7e298cf2
* codecs.conf: add another xdcam mpeg2 fourcc/isom xd54compn2010-11-021-6/+7
| | | | | | Also mark ffwmvp as requiring lavf demuxer. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32440 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux_lavf: handle new streams appearing during playbackreimar2010-11-021-0/+8
| | | | | | Based on patch by KS Ng - dmbth [hk.dmbth gmail com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32439 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove remaining %lf printf conversionsreimar2010-11-025-17/+18
| | | | | | Most cases are just code in comments. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32438 b3059339-0415-0410-9bf9-f77b7e298cf2
* vf_yadif: modify asm to make compile with clangcehoyos2010-11-021-1/+1
| | | | | | | | Explicit wordlength for compare. Fixes compile with clang. Patch by İsmail Dönmez, ismail namtrac org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32437 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux_pva: move functions, add "static"diego2010-11-021-90/+88
| | | | | | | | | | Mark pva_get_payload() as static, it is not used outside of the file. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32435 b3059339-0415-0410-9bf9-f77b7e298cf2 Move pva_get_payload() around to avoid a forward declaration. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32436 b3059339-0415-0410-9bf9-f77b7e298cf2
* mpeg_hdr.c: move function to avoid forward declarationdiego2010-11-021-36/+34
| | | | | | Move mp_unescape03 function around to avoid forward declaration. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32433 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux_real.c: Remove unused hexdump() forward declarationdiego2010-11-021-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32432 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux_[mpg|ts|ty]: #include dec_audio.h for skip_audio_frame()diego2010-11-023-5/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32431 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: simplify X11, IVTV and V4l2 checksdiego2010-11-021-39/+5
| | | | | | | | | | Simplify some X11 checks with the help of statement_check_broken(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32428 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove some unnecessary #includes from IVTV and V4L2 checks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32429 b3059339-0415-0410-9bf9-f77b7e298cf2
* mplayer.c: remove some obsolete commented-out linesdiego2010-11-021-10/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32427 b3059339-0415-0410-9bf9-f77b7e298cf2
* libvo: remove UNUSED() macrosdiego2010-11-028-63/+1
| | | | | | | | Remove UNUSED macros used to shut up unused function parameter warnings. The macros are duplicated all over libvo and serve no useful purpose nowadays. A better way to shut up the warnings is -Wno-unused-parameter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32422 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move code to avoid forward declarations in top-level .c filesdiego2010-11-024-264/+259
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32421 b3059339-0415-0410-9bf9-f77b7e298cf2
* subreader.c: malloc+memset -> calloccehoyos2010-11-021-4/+2
| | | | | | Patch by Clément Bœsch, ubitux gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32417 b3059339-0415-0410-9bf9-f77b7e298cf2
* subreader.c: Simplify comparisoncehoyos2010-11-021-2/+1
| | | | | | Patch by Clément Bœsch, ubitux gmail git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32416 b3059339-0415-0410-9bf9-f77b7e298cf2
* spudec: support "clear" packet typereimar2010-11-021-13/+15
| | | | | | | | | | | Support "clear" packets that contain no data but instead clear the screen at a given time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32410 b3059339-0415-0410-9bf9-f77b7e298cf2 Reindent. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32411 b3059339-0415-0410-9bf9-f77b7e298cf2
* m_config.c: cosmetics: Move functions to avoid forward declarationsdiego2010-11-021-114/+108
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32387 b3059339-0415-0410-9bf9-f77b7e298cf2
* m_config.[ch]: mark some function parameters constdiego2010-11-022-10/+10
| | | | | | patch by Clément Bœsch, ubitux gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32386 b3059339-0415-0410-9bf9-f77b7e298cf2
* libfaad2: cosmetics: Make local_changes.diff apply cleanlydiego2010-11-021-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32384 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: simplify some checksdiego2010-11-021-35/+7
| | | | | | | | | | | | | | | | | | Simplify some configure checks through statement_check{_broken}(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32380 b3059339-0415-0410-9bf9-f77b7e298cf2 Drop two unnecessary Xlib.h #includes and use helper functions. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32388 b3059339-0415-0410-9bf9-f77b7e298cf2 Revert accidentally committed changes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32389 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove unnecessary Xlib.h #include from xf86keysym check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32390 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Rename function_check{_broken}() --> statement_check{_broken}()diego2010-11-021-47/+47
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32379 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: simplify some testsdiego2010-11-021-49/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove some unnecessary windows.h #includes in configure checks. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32363 b3059339-0415-0410-9bf9-f77b7e298cf2 configure: simplify Direct3D and Windows waveout tests Simplify Direct3D check with header_check(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32364 b3059339-0415-0410-9bf9-f77b7e298cf2 Simplify Windows waveout test with header_check_broken(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32365 b3059339-0415-0410-9bf9-f77b7e298cf2 Simplify ENCA check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32371 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove unnecessary linux/types.h #include from Apple IR check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32373 b3059339-0415-0410-9bf9-f77b7e298cf2 Simplify jpeglib check with header_check_broken(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32375 b3059339-0415-0410-9bf9-f77b7e298cf2 Simplify inet_pton/inet_aton checks with function_check(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32376 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove unnecessary sys/types.h #include from shm check. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32378 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: update documentation comments about adding checksdiego2010-11-021-17/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32367 b3059339-0415-0410-9bf9-f77b7e298cf2
* DOCS/xml/hu: synced with r32361Gabrov2010-11-025-67/+133
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32362 b3059339-0415-0410-9bf9-f77b7e298cf2
* codecs.conf: Partial support for ffwmvp (only works with -demuxer lavf)cehoyos2010-11-021-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32359 b3059339-0415-0410-9bf9-f77b7e298cf2
* audio: auto-add downmix filter when stereo output is requestedcigaes2010-11-021-0/+25
| | | | | | | | | | When -channels 2 [default] is specified and the audio decoder used does not support internal downmixing, automatically add a pan filter after the decoder to downmix to stereo. Patch by Clément Bœsch, ubitux gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32356 b3059339-0415-0410-9bf9-f77b7e298cf2
* libaf: add opts pointer to struct af_streamUoti Urpala2010-11-022-2/+4
|
* ad_libdca: fix assert failure on -channels >6Uoti Urpala2010-11-021-3/+10
| | | | | | | The decoder had an assert from back when max channels was 6, causing a crash if the user specified -channels 7 or -channels 8. Change the decoder to behave as if -channels 6 had been specified in that case instead.
* options: move audio_output_channels, audio_output_format to structUoti Urpala2010-11-0212-20/+30
|
* Makefile: don't list dependencies for codec-cfg.ddiego2010-11-021-1/+1
| | | | | | The file is now generated as a side effect of compilation. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32355 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Add HAVE_STDLIB_H to config.h for libfaad2diego2010-11-021-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32350 b3059339-0415-0410-9bf9-f77b7e298cf2
* libdvdcss: Sync some minor changes from upstream, up to r237diego2010-11-028-4/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32349 b3059339-0415-0410-9bf9-f77b7e298cf2
* Makefile: Remove __USE_UNIX98 from libdvd* CFLAGSdiego2010-11-021-3/+3
| | | | | | | This is an internal glibc symbol that should not be used directly. Besides, other CFLAGS already take care of enabling single Unix v2. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32348 b3059339-0415-0410-9bf9-f77b7e298cf2
* af.c: Minor simplification of af_initreimar2010-11-021-5/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32347 b3059339-0415-0410-9bf9-f77b7e298cf2
* af.c: add "const" to af_append(), af_prepend() prototypesreimar2010-11-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32346 b3059339-0415-0410-9bf9-f77b7e298cf2
* Makefile: Do not compile libfaad2 with -D_GNU_SOURCEdiego2010-11-021-1/+1
| | | | | | It is not necessary and libfaad2 itself does not do it either. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32344 b3059339-0415-0410-9bf9-f77b7e298cf2
* libfaad2: make a function staticdiego2010-11-022-7/+11
| | | | | | | Mark output_to_PCM_sux as static, it is not used outside of the file; fixes: libfaad2/output.c:465: warning: no previous prototype for 'output_to_PCM_sux' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32343 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Move network requirement check for FTP into the FTP testdiego2010-11-021-3/+5
| | | | | | | | | | This makes the FTP test self-sufficient and reduces complexity. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32340 b3059339-0415-0410-9bf9-f77b7e298cf2 Add proper autodetection for FTP support; should fix Bugzilla #1804. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32377 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: Move ASMALIGN check into x86 sectiondiego2010-11-021-12/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32337 b3059339-0415-0410-9bf9-f77b7e298cf2
* libfaad2: change lrintf availability logicdiego2010-11-022-18/+7
| | | | | | | | | | | | | | | | | | | | Remove local HAVE_LRINTF hack; it should no longer be necessary. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32335 b3059339-0415-0410-9bf9-f77b7e298cf2 Do not compile libfaad2's lrintf() implementation if __STDC_VERSION__ is set. This should be enough to ensure that a system lrintf implementation exists. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32342 b3059339-0415-0410-9bf9-f77b7e298cf2 Check for __STDC_VERSION__ >= 199901L before declaring lrintf(). This is the correct condition according to the standard. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32385 b3059339-0415-0410-9bf9-f77b7e298cf2 Fix condition for compiling lrintf, fixes compilation on cygwin/MinGW. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32391 b3059339-0415-0410-9bf9-f77b7e298cf2
* libfaad2: Restore trailing whitespace in local diff filediego2010-11-021-31/+31
| | | | | | Without it, emacs has trouble in diff mode. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32334 b3059339-0415-0410-9bf9-f77b7e298cf2
* Makefile: Drop separate compilation rules for dhahelperwin filesdiego2010-11-021-6/+0
| | | | | | The generic rules should work just as well. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32333 b3059339-0415-0410-9bf9-f77b7e298cf2
* Makefile: Merge dhahelperwinclean and dhahelperclean targetsdiego2010-11-021-5/+3
| | | | | | | There is no need to have them separate; in other clean rules we make an effort to clean up all platforms at the same time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32331 b3059339-0415-0410-9bf9-f77b7e298cf2
* TOOLS/subrip: fix linking failurediego2010-11-021-0/+3
| | | | | | Work around linking failure due to unresolved reference to mplayer_version. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32328 b3059339-0415-0410-9bf9-f77b7e298cf2
* Makefile: Remove remnants of explicit dependency file generationdiego2010-11-021-3/+2
| | | | | | | Dependency files are now generated as a side effect of compilation, and have no independent creation rules. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32327 b3059339-0415-0410-9bf9-f77b7e298cf2
* Makefile: Fix osdep/mplayer.rc.o vs. osdep/mplayer-rc.o typodiego2010-11-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32326 b3059339-0415-0410-9bf9-f77b7e298cf2
* Makefile: read dependency files for assembler files toodiego2010-11-021-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32321 b3059339-0415-0410-9bf9-f77b7e298cf2
* Makefile: Rename DEPS variable to DEP_FILESdiego2010-11-021-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32320 b3059339-0415-0410-9bf9-f77b7e298cf2
* configure: simplify libbluray testdiego2010-11-021-7/+1
| | | | | | | | | | Remove unnecessary #include from libbluray test. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32312 b3059339-0415-0410-9bf9-f77b7e298cf2 Simplify libbluray test with function_check(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32316 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux_mkv: fix decoded length calculation of LZO decompressionreimar2010-11-021-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32305 b3059339-0415-0410-9bf9-f77b7e298cf2
* demux_mkv: add some sanity checksUoti Urpala2010-11-021-16/+31
| | | |