1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-19 05:41:16 +00:00
Commit Graph

29491 Commits

Author SHA1 Message Date
reimar
3961e12fca Fix incompatible pointer types warning, also seems to fix mis-compilation with gcc-4.4.1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29532 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 08:02:37 +00:00
reimar
6638304dbf Fix 100l broken flag check found due to compiler warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29531 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 07:30:24 +00:00
reimar
9054d57595 Set demuxer->filepos in mf demuxer, since the stream_tell fallback is not
usable. Fixes progress display in mencoder.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29530 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 06:14:12 +00:00
reimar
eeaa871baa Get rid of rawaudio control code again that only duplicates the fallback code in
demuxer.c now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29529 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 05:56:36 +00:00
reimar
5d058a67c1 Handle demuxers that never set filepos by using stream_tell.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29528 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 05:55:40 +00:00
ramiro
69cb72414a swscale-example: Make selection of dstW, dstH, and flags more clear.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29527 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-17 02:06:00 +00:00
reimar
46f8461828 Add some protection to the rawaudio GET_LENGTH/GET_PERCENT_POS in case the
file length is not known (streaming).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29526 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-16 22:44:29 +00:00
reimar
fef7ef08a0 Implement DEMUXER_CTRL_GET_TIME_LENGTH and DEMUXER_CTRL_GET_PERCENT_POS for
rawaudio demuxer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29525 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-16 22:39:10 +00:00
ramiro
808ac07940 More indentation changes leftover from r29522:
- Align asm code to the column 4 spaces after the call to __asm__();
- Align cases in switch statements to the same column as "switch".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29524 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-16 21:37:07 +00:00
ramiro
b490da35c8 Cosmetics:
- Place curly brackets in the same line as while/for/if/switch/else/do;
- Place curly brackets at column 0 in the next line starting a function.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29523 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-16 21:11:28 +00:00
ramiro
88dafbd9a5 Indent libswscale:
- Use 4 spaces throughout for indentation;
- Fix inconsistent indentation;
- Indent function calls and declarations aligning arguments on multiple lines
  to the column after the opening parentheses;
- Align asm code to the column 4 spaces after the call to __asm__();
- Align cases in switch statements to the same column as "switch".


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29522 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-16 00:32:04 +00:00
cehoyos
6a101a97f9 Fix file information. Patch by Francesco Lavra, francescolavra interfree it
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29521 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-15 23:41:35 +00:00
cehoyos
4112165879 Add missing major contributors to copyright statement.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29520 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-15 23:33:56 +00:00
jrash
f868c2ca36 improve previous translation
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29519 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-15 02:55:54 +00:00
ramiro
ca774579f7 Indent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29518 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-15 02:35:55 +00:00
ramiro
15fb97be65 Vertical yuv -> yuv16 scaler.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29517 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-14 15:52:40 +00:00
cehoyos
b3506ab290 Allow compilation with gcc 2.95.3 if videodev2.h does not support it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29516 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-14 09:31:16 +00:00
ramiro
28b847afce BGR32 MMX special convertor.
Patch by Peter Schlaile < peter at schlaile dot de >

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29515 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-14 02:15:28 +00:00
greg
629d7023da Fix crash when event format is not specified
Patch by Andrew Savchenko <bircoph@gmail.com>.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29514 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 22:52:45 +00:00
cehoyos
d41e860bab Add Dolby TrueHD support for mkv demuxer.
Patch by Jason Tackaberry, tack urandom ca 


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29513 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 21:54:08 +00:00
ramiro
58a12d7901 Indent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29512 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 19:03:14 +00:00
ramiro
7eaf60438b swscale-example: Don't check for chroma planes in mono formats.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29511 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 18:39:39 +00:00
ramiro
301a0e4940 MMX2 horizontal scaler: Determine code size at runtime.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29510 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 18:31:07 +00:00
ramiro
a409c31dd1 Protect mmx2 filter code buffers so they are not executable and writeable at
the same time (only mmap for now).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29509 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 18:29:54 +00:00
ramiro
6f79fc6ff9 Remove duplicate define (it is the same in the lum code).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29508 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 18:28:55 +00:00
ramiro
054bb3016f Rename "funny" code to "mmx2 filter" code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29507 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 18:28:17 +00:00
ramiro
f4002b6be9 Indent.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29506 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 13:18:59 +00:00
ramiro
3c4aba428f swscale-example: Remove hack to end loop by setting variables to break.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29505 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 11:48:06 +00:00
ramiro
fef358505e swscale-example: Don't return random value from main().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29504 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 11:34:27 +00:00
ramiro
4f3fd1c7ea swscale-example: Check for Gray formats.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29503 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-13 11:33:18 +00:00
cehoyos
226e5b47c8 Fix possible double-free.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29502 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-12 15:20:14 +00:00
reimar
b6c472202f make codec-cfg reuse the proper defined constants for all RGB/BGR formats
instead of re-constructing them itself.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29501 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-12 01:04:37 +00:00
reimar
a3d39e2702 100l, fix compilation again and make codec-cfg.c use the predefined constants
instead of reimplementing the IMGFMT_RGB|bit_depth logic.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29500 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-12 01:03:21 +00:00
reimar
c9f520a3f9 1000l, RGB48BE does _not_ use 49 bit/pixel, probably fixes 48 bit PNG decoding.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29499 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-12 00:51:09 +00:00
cehoyos
6ca4476753 Allow decoding of 48 bit png image files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29498 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-12 00:27:00 +00:00
greg
14df605236 Use new libavformat metadata API.
Patch by Anton Khirnov <wyskas@gmail.com>.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29497 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 23:26:42 +00:00
cehoyos
e9db7e8b4f s/RG48xE/RGB48xE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29496 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:57:22 +00:00
cehoyos
36ebca92d2 Make *avcctx AVCodecContext instead of void.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29495 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:52:18 +00:00
cehoyos
6a3c6ad075 Fix H.264 SPS parsing in case of scaling list present.
Patch by Marco Munderloh, munderl A tnt D uni-hannover D de 


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29494 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:44:43 +00:00
cehoyos
bb6c23de0c Fix a crash when playing some H264 over rtsp streams: Do pass an
AVCodecContext to the H264 parser.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29493 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:28:26 +00:00
reimar
6960e4c1b1 Explain how formats must be ordered in fmt_list so the parser can handle
names where one matches the beginning of another.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29492 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:21:31 +00:00
reimar
8541fcf365 fmt_table should be const as well.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29491 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:15:21 +00:00
cehoyos
ee5bf60cd8 Parse BitsPerSample and SamplesPerSec when playing PCM in X-QT over
RTSP.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29490 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 18:07:43 +00:00
cehoyos
bcb5c78ce3 Allow dpx image files as input.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29489 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 17:56:19 +00:00
cehoyos
a2dd68d6b4 Allow out-formats for IMGFMT_RGB48* in codecs.conf.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29488 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 17:54:11 +00:00
cehoyos
95bd58e068 Map IMGFMT_RGB48xE to PIX_FMT_RGB48xE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29487 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 17:52:01 +00:00
cehoyos
b92666b582 Add IMGFMT_RGB48LE and IMGFMT_RGB48BE.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29486 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-11 17:51:11 +00:00
diego
180b6a88e4 Remove disabled debug code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29485 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-10 10:53:32 +00:00
ramiro
80c0fb98ba Put some altivec code under COMPILE_ALTIVEC, and not HAVE_ALTIVEC.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29484 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-09 15:34:57 +00:00
kostya
1e1a332bbf Remove 'offset' argument from PUTRGB* macros since it's unneeded and caused
pixel swapping during some YUV2RGB conversions.



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29483 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-08-09 15:04:17 +00:00