Commit Graph

31419 Commits

Author SHA1 Message Date
Uoti Urpala eb48fefe94 stream_ffmpeg.c: change reads back to url_read_complete()
Change reading data from FFmpeg from url_read() back to
url_read_complete(). url_read_complete() behavior has changed in
FFmpeg and no longer returns an error for partial reads at EOF so it's
usable now. Using it is probably not significantly better than
url_read(), but at least it handles EAGAIN.
2010-04-23 21:19:50 +03:00
Uoti Urpala 19907b8fbc demuxer.c: clean up stream-seek code
Only try to use the dvd/dvdnav stream seek hack with those stream
types. Generally demuxers can not be expected to cope with the stream
suddenly seeking under them. In principle it would be more correct to
make the test demuxer-based (instead of assuming that using stream
seeks in this manner is OK with whatever demuxer that will be used
with these streams), but that'd be more work.
2010-04-23 21:01:21 +03:00
Uoti Urpala f9d224b1ad Move some sh_audio field setting out of demuxer.c
These fields are decoder details, not information set by the demuxer.
2010-04-23 20:50:11 +03:00
Uoti Urpala e3bd668ebd Move seek-reset functionality out of demuxer.c
Move code for resetting decoders after seeks, chapter seeks and angle
changes out of demuxer.c. This functionality belongs on a higher
level; the demux layer can't always know what kind of reinitialization
is required.
2010-04-23 20:14:59 +03:00
Uoti Urpala 97db8519c8 build: create and install .mo translation files
If --enable-translation was specified to configure, build and install
.mo files for the selected message language(s). The languages enabled
can be chosen with the --language-msg option; by default all available
ones will be installed. The .po source files for available languages
are seached under the po/ subdirectory; at the moment that
subdirectory is not included in the sources so no languages will be
enabled unless you add the actual translations before running
configure.

The .mo files are created in the locale/ subdirectory when compiling.
By default MPlayer will only look for them in the installed location,
so the newly compiled .mo files will not be found if you run MPlayer
without installing. You can set the MPLAYER_LOCALEDIR environment
variable to point to the locale/ directory to test the translations
without installing.
2010-04-01 13:09:32 +03:00
Uoti Urpala faea4ef439 ad_ffmpeg: prefer codec to container samplerate for ffaac
Container-level information can be unreliable for AAC because of SBR
handling problems, so use the samplerate value from the codec
instead.
2010-03-21 18:46:19 +02:00
Uoti Urpala 4a70750f5f demux_mkv: Fix problem with compressed subtitle private data
Convert demux_mkv_decode() to allocate possible new storage with
talloc and fix a talloc/malloc conflict in demux_mkv_open_sub() that
broke decoding of files which had a subtitle track with compressed
private data.
2010-03-21 18:46:06 +02:00
Uoti Urpala cbc6eabb9f TOOLS/matroska.py: support 8-byte floats in parsing mode
Support parsing and printing the value of 8-byte floats when using the
script to parse and display contents of Matroska files.
2010-03-11 23:42:20 +02:00
Uoti Urpala f4a1d6e36e Makefile: fix %.S rule (broke loader build on x86)
The rule merged from svn used "ASFLAGS" which was set for FFmpeg
only. Change it to use CFLAGS instead (ASFLAGS is the same in svn).
2010-03-10 16:40:22 +02:00
Uoti Urpala 00323c06e2 Delete things related to old translation system
Remove the help/ subdirectory, configure code to create toplevel
help_mp.h, and all the '#include "help_mp.h"' lines from .c files.
2010-03-10 03:47:14 +02:00
Uoti Urpala b996250a2a Merge svn changes up to r30879 2010-03-10 03:20:23 +02:00
Uoti Urpala f5115f249c Ignore svn change r30877 2010-03-10 03:19:02 +02:00
Uoti Urpala 0269d22d32 Merge svn changes up to r30876 2010-03-10 03:18:42 +02:00
Uoti Urpala 240550bbb9 Merge svn changes up to r30848 2010-03-10 03:00:14 +02:00
Uoti Urpala 9895f2360f Ignore svn changes up to r30817 2010-03-10 02:37:11 +02:00
Uoti Urpala 4857965118 Merge svn changes up to r30815 2010-03-10 02:36:35 +02:00
Uoti Urpala bc1d0ca37d Merge svn changes up to r30798 2010-03-10 02:35:02 +02:00
Uoti Urpala f7cc4152f7 Ignore svn changes up to r30752
More wasted work in svn duplicating changes implemented long ago in
git...
2010-03-10 01:51:55 +02:00
Uoti Urpala e74708f619 Merge svn changes up to r30748 2010-03-10 01:50:55 +02:00
Uoti Urpala 2ad00b5319 Ignore svn changes up to r30734 2010-03-10 01:25:56 +02:00
Uoti Urpala acdce0176a Merge svn changes up to r30732 2010-03-10 01:25:15 +02:00
Uoti Urpala ef3ef5e218 Ignore svn changes up to r30707
Already done long ago in git.
2010-03-10 01:10:07 +02:00
Uoti Urpala 194efde18f Merge svn changes up to r30702 2010-03-10 01:08:50 +02:00
Uoti Urpala 415a39cad0 Ignore svn change r30695 2010-03-10 01:03:05 +02:00
Uoti Urpala 0dce155dd3 Merge svn changes up to r30694 2010-03-10 01:01:15 +02:00
Uoti Urpala db7fe7ce92 Ignore svn changes up to r30686
Already done in git earlier.
2010-03-10 00:54:51 +02:00
Uoti Urpala 5099b1458d Merge svn changes up to r30683 2010-03-10 00:52:17 +02:00
Uoti Urpala 5eeba24ab7 Ignore svn change r30676
Already done long ago in git.
2010-03-10 00:48:33 +02:00
Uoti Urpala 90f5873f1a Merge svn changes up to r30675 2010-03-10 00:47:25 +02:00
Uoti Urpala 15a604c405 Ignore svn change r30673
Modifying an unused function...
2010-03-10 00:36:17 +02:00
Uoti Urpala 327463be52 Merge svn changes up to r30672 2010-03-10 00:34:16 +02:00
Uoti Urpala 7e90be7093 Ignore svn changes up to r30665 2010-03-10 00:14:34 +02:00
Uoti Urpala 13221a7165 Merge svn changes up to r30663
Conflicts:
	gui/cfg.c
	libmpcodecs/vd_dmo.c
	mplayer.c
2010-03-10 00:13:11 +02:00
Uoti Urpala c4f7b9666f Ignore svn change r30644 2010-03-10 00:00:48 +02:00
Uoti Urpala c37f09693d Merge svn changes up to r30643 2010-03-10 00:00:06 +02:00
Uoti Urpala 22a06c4ae5 Ignore svn changes up to r30607 2010-03-09 23:45:20 +02:00
Uoti Urpala 89c5ed5e9a Merge svn changes up to r30605 2010-03-09 23:44:57 +02:00
Uoti Urpala 0670a5d090 Ignore svn changes up to r30601
Most done long ago in git, and the additional changes in svn are
mostly bugs...
2010-03-09 23:42:31 +02:00
Uoti Urpala 42bf12c2d3 Merge svn changes up to r30595
Conflicts:
	mplayer.c
	vidix/nvidia_vid.c
2010-03-09 23:37:00 +02:00
Uoti Urpala fa34ea27b9 Ignore svn changes up to r30579 2010-03-09 23:24:45 +02:00
Uoti Urpala fa51c3b07c Merge svn change r30576 2010-03-09 23:23:02 +02:00
Uoti Urpala d7f7bffce5 Ignore svn changes up to r30575 2010-03-09 23:22:07 +02:00
Uoti Urpala e03e0597d0 Merge svn changes up to r30570 2010-03-09 23:20:56 +02:00
Uoti Urpala f910c8c9d8 Ignore svn change r30561
Already done in git.
2010-03-09 23:19:19 +02:00
Uoti Urpala c31aa7b953 Merge svn change r30560 2010-03-09 23:18:19 +02:00
Uoti Urpala ad43180c16 Ignore svn changes up to r30559
Something similar was already done in git, plus r305598 is wrong;
mp_core.h is not suitable for inclusion in random files throughout the
codebase.
2010-03-09 23:14:19 +02:00
Uoti Urpala 8365d174b6 Merge svn changes up to r30557 2010-03-09 23:09:46 +02:00
Uoti Urpala 7fc3bb2a88 Ignore svn changes up to r30553 2010-03-09 23:08:32 +02:00
Uoti Urpala 81c4223448 Makefile: remove outdated vf_halfpack entry
Remove an outdated entry left over from when vf_halfpack depended on
libswscale internals.
2010-03-09 23:06:40 +02:00
Uoti Urpala 36e7a20e69 Merge svn changes up to r30550 2010-03-09 23:03:14 +02:00