Commit Graph

29299 Commits

Author SHA1 Message Date
reimar d90d9d3d22 Switch to avcodec_decode_video2 to allow a hack that makes PNG decode correctly
again instead of in CorePNG delta mode.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29340 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 22:25:10 +00:00
reimar 31f9de2546 Initialize local variable, avoids a possible crash due to using an
uninitialized variable as array index for mono files.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29339 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 10:43:41 +00:00
reimar 29369f0c33 Add const where appropriate, also gets rid of a compiler warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29338 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:43:32 +00:00
reimar b3f4cd6c52 100l, do not read probe buffer if it will not be used because a format was forced.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29337 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:39:02 +00:00
reimar 3cd6ded7ea Add actually working support for PPC64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29336 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:35:16 +00:00
reimar f4da0f9ec1 Use target_arch and target_subarch which is more similar to what FFmpeg uses
and makes more sense when adding proper PPC64 or MIPS64 support.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29335 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:25:20 +00:00
reimar b8f1cf16db Add some missing FFmpeg archs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29334 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-06-01 09:20:22 +00:00
reimar c783e58e91 Using nl_langinfo in the asf mmst implementation makes no sense since
MPlayer does not use setlocale.
Just default to UTF-8 as input charset until there is a better solution.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29333 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-31 13:09:48 +00:00
reimar 71fefd86ac Use a malloced string for the get_term_charset return value.
This is necessary at least on POSIX systems since the buffer returned by
nl_langinfo may change its contents with e.g. each setlocale call.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29332 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-31 13:00:51 +00:00
reimar 960285ea46 Make ID_SEEKABLE depend on both the stream and the demuxer being seekable,
instead of only depending on the stream.
This makes the value correctly 0 e.g. for AVI files without index.
Patch by Jason Tackaberry [tack urandom ca]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29331 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-31 12:48:53 +00:00
reimar ea47ab2a9f In all demux_info_add calls change "name" to "title".
Currently "name" and "title" are both used at random, this makes it consistent.
"title" was chosen because it is less ambiguous and also the get_meta_title
slave mode command uses that (there is no get_meta_name command).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29330 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-30 13:18:57 +00:00
reimar b60e7f8ba5 100l, demuxer info tags are _not_ case sensitive, so use strcasecmp.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29329 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-30 13:15:53 +00:00
ptt 55f9c39e57 forgot a line :(; added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29328 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-28 15:53:27 +00:00
ptt 17b7cfb1bb synced with r2769
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29327 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-28 15:39:02 +00:00
ptt a343285832 sync'ed to r29209
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29326 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-28 10:20:38 +00:00
jrash 5f64cab1e4 refine previous translation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29325 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-28 05:56:17 +00:00
compn f3d2988297 add dvh1 fourcc to ffdv codec, fixes dvh1_sample_truncated.avi
and Mp42 fourcc to ffmp42 codec, fixes unknown_audio_codec.avi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29324 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-26 01:02:16 +00:00
compn 3f7f582557 add binary decoder for YLC0
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29323 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-26 00:19:31 +00:00
lu_zero 97b04458ed Unify over rtsp_transport_tcp as var to hold the -rtsp-stream-over-tcp flag and make sure libnemesi only builds are fine
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29322 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-25 20:28:35 +00:00
lu_zero 2bd1990820 Make sure -rtsp-stream-with-sctp is supported while building with libnemesi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29321 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-25 17:51:10 +00:00
kostya f7d2053641 Move colorspace conversion functions implemented in pure C from template
into swscale.c



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29320 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-25 16:42:54 +00:00
Gabrov 83cc0834f5 synced with r29305
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29319 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-24 09:54:25 +00:00
diego ebf2f1d669 cosmetics: alphabetically sort SRCS_MPLAYER
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29318 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-21 08:46:24 +00:00
kostya 5b29003e0c Let SwScaler know that RGB48 BE/LE is 16-bits per component format.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29317 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-19 17:37:58 +00:00
kostya 3da99d2524 Make SwScaler recognize RGB48 BE/LE colourspaces (not support though).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29316 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-19 17:26:22 +00:00
reimar ae2c370375 Set XVR100 make variable. Fixes compilation when support for xvr100 was detected.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29315 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-19 08:56:23 +00:00
adrian af16d3f120 When used with shared_buffer, there's no need for a NSApp object, which causes MPlayer to be marked as unresponsive.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29314 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-18 21:19:11 +00:00
adrian faa665d3e7 When used with shared_buffer, autorelease in each flip_page so objects don't accumulate until exit.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29313 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-18 21:00:35 +00:00
gpoirier 117e232624 sync w/r29244
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29312 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-17 19:51:56 +00:00
reimar dbe4e49033 Add a hack to detect when we are writing into a Windows pipe since the fseek
incorrectly does not fail like it should.
This ensures we will not incorrectly append the file header at the end.
Based on patch by Zhou Zongyi [zhouzongyi at pset.suntec.net]


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29311 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-16 13:59:53 +00:00
diego 83058ab95b Add missing path to find invocation for tags/TAGS creation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29310 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-15 23:17:25 +00:00
diego 76c0f7b271 Simplify find invocation in tags/TAGS generation command:
- Drop '-print', which is the default for find.
- Drop unnecessary invocation of find in a subshell.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29309 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-15 22:24:12 +00:00
bircoph 239f909df7 Revert whitespace removal for win-related code, because lack of ^M at
linebreaks may cause problems in win.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29308 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 19:44:44 +00:00
bircoph c72822b816 Restore old license file after whitspace removal in previous commit.
Legal stuff is very fragile and shouldn't be changed, even for
whitespace cosmetics.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29307 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 18:42:38 +00:00
bircoph 6e695dc64f Remove all kind of trailing whitespaces from all MPlayer's files.
This affects all kind of spaces (' ',^I,^M,^L,...): actually
[:space:] regex character set.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29306 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 15:22:13 +00:00
diego 6e9cbdc104 whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 02:58:57 +00:00
diego eafe5b7517 Make sure that -Ilibdvdread4 appears in CFLAGS before any system directories
so that internal dvdread headers do not conflict with system headers.
Fixes Bugzilla #1465.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29304 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 19:25:35 +00:00
diego e2a6bb7b41 Make sure that -I flags for internal library copies come before other CFLAGS
so that header files do not conflict with system-installed versions.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29303 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 18:09:53 +00:00
diego 58931b2f12 Fix IPv4 vs. IPv6 typo, closes Bugzilla #1439.
noticed by Loic Pefferkorn, loic-mplayer loicp eu


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29302 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 15:00:32 +00:00
diego 8ef6c14e0d libdvdread4 does not use HAVE_CONFIG_H, so drop the -D flag for libdvdread4.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29301 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 08:21:53 +00:00
diego cf7bc50739 Add HAVE_PPC64 definition for FFmpeg.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29300 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 07:25:04 +00:00
diego 0d5ab8b6d9 Make sure CONFIG_MUXERS is always set.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29299 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 06:52:57 +00:00
reynaldo c9869e7c5b Get rid of some more trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29298 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 03:03:35 +00:00
reynaldo e572539fcd Get rid of some more trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29297 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 03:01:09 +00:00
reynaldo 08525a3e0b Some reformating to avoid two too long lines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29296 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 02:58:29 +00:00
reynaldo 8da20964d5 Get rid of some more trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29295 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 02:45:52 +00:00
reynaldo 0e5e94beba Get rid of some more trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29294 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 02:43:03 +00:00
reynaldo 6d781a3226 Get rid of some more trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29293 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 02:41:04 +00:00
reynaldo 9a420b0f93 Get rid of some more trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29292 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 02:33:28 +00:00
reynaldo 99f935a624 Get rid of some more trailing whitespace
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29291 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-12 02:31:11 +00:00