Commit Graph

28066 Commits

Author SHA1 Message Date
diego c43243575c cosmetics: Move around stuff in config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27704 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 11:06:50 +00:00
diego e46c293c57 Remove unused LIBDIR Makefile variable from config.mak.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27703 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:57:57 +00:00
diego 40505981d7 Remove unused options --ar and --ranlib.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27702 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:53:28 +00:00
diego b924795056 Do not set DESTDIR to an empty value so that it can be overridden on the
command line.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27701 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:39:29 +00:00
diego 220ec4f125 FAAC/FAAD are no longer the only available AAC encoders/decoders.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27700 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:18:42 +00:00
diego 526cfa28a2 Remove word size check and macro and use __WORDSIZE directly instead.
It has been done this way in libswscale for years without apparent ill effect.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27699 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 10:16:48 +00:00
diego 4d040d35d0 Remove MPlayer-specific MP_WORDSIZE hack.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27698 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 09:52:07 +00:00
diego 677ce98c85 Merge SPARC and SPARC64 sections in the CPU detection code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27697 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 09:38:10 +00:00
diego 6685ee530b Skip setting variables to empty values in the CPU detection code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27696 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-04 09:27:46 +00:00
Uoti Urpala 562d86d95c demux: Increase max buffered packet bytes from 8 to 128 MiB
The hard limit on the amount of buffered bytes per demuxer stream had
not been increased since 2001. Since then there have been significant
increases in both video bitrates (so it's easier to hit the limit) and
typical memory available on a computer (so there's less reason to
limit the memory used for buffering). The 8 MiB limit was too easy to
hit in the case of high-bitrate video lagging behind audio, when the
file is demuxed ahead to get audio packets but video has to be
buffered until the decoder catches up to that point.

Increase the limit to 128 MiB and remove the #ifdef for
CONFIG_TV_BSDBT848 because the normal limit is now higher than the
increased value under the #ifdef.
2008-10-04 07:52:27 +03:00
Uoti Urpala 0a674354b7 demux: Reset demux stream 'eof' flag after packet buffer overflow
The eof flag is set when another demuxer stream has hit the limit on
the size or count of buffered packets. This makes sense because in that
error situation the calling code can not rely on being able to demux
more packets from this stream, so it should rather exit or whatever
instead of getting stuck trying. However the situation can improve if
packets are demuxed from the other stream. In that case the eof flag
should be cleared. This commit adds code to clear the flag if
something is successfully read from the stream (so it's only cleared
if a caller tries to read packets despite the flag being set; that's
enough to fix audio sync issues after video packet buffer overflow).
2008-10-04 07:37:18 +03:00
diego 78066d185e Remove MinGW cruft.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27695 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 23:44:40 +00:00
diego c4c2d94214 100l copy and paste typo fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27694 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 22:49:53 +00:00
diego 6c9eadf059 spelling cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27693 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 22:46:33 +00:00
diego 8a0c673c03 Fix vsscanf test.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27692 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 22:39:06 +00:00
diego c378cd84be vo_fbdev now supports -geometry.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27691 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 21:55:05 +00:00
diego 1b697bc8d6 whitespace cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27690 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 21:54:21 +00:00
diego e4b700c6f8 CVS --> Subversion
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27689 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 21:49:25 +00:00
Uoti Urpala e7a611de00 Merge svn changes up to r27688 2008-10-03 18:05:21 +03:00
gpoirier bf0e018a68 fix compilation w/ FFmpeg r15533
patch by Andrew Wason %rectalogic A rectalogic P com%


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27688 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 14:54:22 +00:00
diego e965e29432 Add missing #include for mplayer.h, fixes the warning:
libvo/vo_png.c:67: warning: implicit declaration of function 'exit_player'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27687 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 10:18:53 +00:00
diego 6aa065d0c6 Filter out xpm files from the list of dependencies to check for recursive
dependencies. This avoids a ton of spurious warnings when generating
dependency information in the gui subdirectory.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27686 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 09:56:37 +00:00
diego 043a331bd0 External liba52 parameters should only be enabled if the check succeeded.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27685 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 09:42:22 +00:00
diego 3d0b12ac1e Internal liba52 should default to enabled.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27684 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-03 09:40:43 +00:00
gpoirier ded93e5b05 fix FAQ about compiling 32 bit mplayer on x86_64
Suggested by Wolfgang Knauf


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27683 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-02 22:15:45 +00:00
Uoti Urpala ebb4abf208 Merge svn changes up to r27682
Addition of the "outdir" suboption to vo_png in svn was reverted
before merging.

Conflicts:
	command.c
	mplayer.c
2008-10-02 05:17:23 +03:00
Uoti Urpala 20571d6f68 Revert "add outdir sub-option to vo png"
This reverts commit 22322409dd.

The reverted commit had at least the following problems:
- It adds a lot of filesystem handling code to an individual VO.
- The added code is duplicated from vo_jpeg.c.
- The added code has exit_player() calls. A VO should not exit the
  whole program. Even if vo_jpeg still has those calls they are a bug
  that shouldn't spread elsewhere.
- The functionality benefit of automatic directory creation is
  questionable. It was probably only included in vo_jpeg because of
  the option to automatically create multiple subdirectories (though
  the utility of that is also questionable); vo_png does not have that.
2008-10-02 05:15:35 +03:00
reimar c765db84a3 Use the existing pt_iter_goto_head function instead of reimplementing it
(incorrectly).

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27682 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-01 17:05:46 +00:00
reimar d20131defa mpctx->playtree is a node, files can not be directly appended to it,
append them to its child instead.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27681 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-01 17:05:39 +00:00
reimar 52ef7eb263 Add a "pause" property to allow checking if MPlayer is paused.
Behaviour without pausing_keep_force prefix is a bit weird.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27680 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-01 17:05:30 +00:00
reimar 70901aa006 Add a m_property_flag_ro function for the default behaviour of a
read-only flag.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27679 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-01 17:05:18 +00:00
diego 0189fa7cac 10l: Remove deleted file libmpeg2/motion_comp_iwmmxt.c from Makefile as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27678 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-01 06:47:26 +00:00
diego 480048ec6f Remove IWMMXT optimizations through libavcodec from libmpeg2.
According to Siarhei Siamashka libavcodec is faster on ARM so it is better to
use it directly instead of creating this hackish mix of two libraries.
Plus, these local changes would never be acceptable upstream, so no good
reason for keeping it in our local patchset remains.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27677 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-01 01:01:59 +00:00
gpoirier fe1d9e57cd sync w/r27651
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27676 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-30 19:35:10 +00:00
reimar 0651813cb0 Apply patch for oCERT #2008-013 / CVE-2008-3827
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27675 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-30 10:44:50 +00:00
gpoirier f938a38b72 sync w/r27607
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27674 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-29 20:44:38 +00:00
diego f7bb9b8955 Remove unused function fast_memcpy.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27673 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-29 06:06:19 +00:00
diego e440b6bbdc cosmetics: indentation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27672 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-29 05:41:54 +00:00
michael deea294c89 Revert mistakenly committed hunk.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27671 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-29 01:15:54 +00:00
michael 0c42ebdc5c Print all cases that are tested, not just the ones that are bad.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27670 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-29 01:14:27 +00:00
michael f627d46a0d Fix infinite loop with spline, bug was introduced in r27612 by me.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27669 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-29 01:08:01 +00:00
diego a2ad015203 cosmetics: prettyprinting
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27668 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-28 10:14:45 +00:00
nicodvb 20e4a74eb5 slave command to get the number of chapters; patch by Kevin DeKorte - kdekorte gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27667 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-26 21:17:01 +00:00
reimar e628297bbd Since the pause loop now also runs commands, set mpctx->was_paused
before entering it for more consistency.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27666 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-25 17:42:56 +00:00
reimar 97cf6acdab Add an experimental pausing_keep_force slave mode command prefix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27665 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-25 17:40:33 +00:00
reimar fdcf78eec4 Do not special-case a grouping-subsegment length of 0.
Fixes samples/asf-wmv/quicktime.wmv


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27664 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-25 17:11:01 +00:00
diego 48480b3ce7 misc fixes for the GUI section
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27663 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-25 06:51:42 +00:00
voroshil 8095d9dacf Add debug message about loaded frequency tables.
Replace printed code of input type with user-frendly "broadcast"/"cable" strings.

patch from Laurent laurent dot aml at gmail dot com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27662 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-24 20:49:27 +00:00
voroshil 7132e7d852 Make output messages of frequency selection code more useful by
providing additional information like requested frequency
and found nearest fequency/channel.

patch from Laurent laurent dot aml at gmail dot com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27661 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-24 20:42:15 +00:00
voroshil 89600cd4ca Fix overflow in frequency conversion code inside tvi_dshow.
patch from Laurent laurent dot aml at gmail dot com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27660 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-09-24 20:30:06 +00:00