Commit Graph

174 Commits

Author SHA1 Message Date
diego cac6c0eea2 Remove bswap.h, use libavutil/bswap.h instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21388 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 15:02:45 +00:00
reimar 690fb7a8e1 Fix incorrect use of be2me_32 on a pointer, use BE_32 instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21267 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 13:26:21 +00:00
reimar e85f73f7fb Useless use of strstr, strchr is good enough.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21259 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 12:12:46 +00:00
henry e56c8ee2d0 Check the log level before processing the message
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21258 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 12:08:40 +00:00
rtogni 88990e297c Fix extradata passing to lavc RV20 decoder
Pass video codec extradata unchanged from demux_real, sync vd_realvid to 
the new format
Sync mkv demuxer to the changes above (cmsg24 extradata was totally 
broken before)
Detect cmsg24 size from extradata (was fixed)
Based on a patch by elupus >> elupus >a< ecce se <<


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20936 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-14 22:40:35 +00:00
michael 3c49701490 feed av_log() through mp_msg()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20757 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-07 19:52:47 +00:00
pacman fafd27da46 Fix SVQ3 extradata handling so it works correctly with demux_lavf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19284 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 22:26:25 +00:00
pacman 0265bf2065 Fix bogus pointer addition in the extraction of extradata from
BITMAPINFOHEADER.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19283 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-31 22:19:48 +00:00
diego b5de6c39e6 Remove #if LIBAVCODEC_BUILD >= XXX and #if LIBAVFORMAT_BUILD >= XXX jungle.
It served no apparent purpose anymore.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19078 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-13 23:02:03 +00:00
uau e2727ec797 Add a new video pts tracking mode, enabled by option -correct-pts.
This mode has the following differences:
- Video timing is correct for streams with B frames, at least with some
  demuxers.
- Video filters can modify frame timestamps and insert new frames, and
  removing frames is handled better than before.
- Some things are known to break, it's not usable as the default yet.

Things should work as before when the -correct-pts option is not used.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18922 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-06 06:58:17 +00:00
reynaldo 3afd65b3af rm unnecesary casts from void* - part 3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18884 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 08:17:07 +00:00
reimar abd8ba242c simplify extradata handling and make passing extradata on the default.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18024 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-02 18:35:00 +00:00
reynaldo b4c74fb28e Part2 of several printf2mp_msg changes in patch from Otvos Attila oattila AT chello DOT hu with LOTS of modifications by me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18005 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-31 00:15:47 +00:00
reimar 171de9cf5f reinit vo when pix_fmt changes.
Avoids broken image or even crash with mf://*.jpg and JPGs with different chroma sampling.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17974 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 10:32:52 +00:00
diego eebf08b978 Convert all if(verbose>X) to mp_msg_test calls.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 08:12:03 +00:00
rtognimp ae8e77ca8d Add support for grayscale [m]jpeg
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17562 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-08 23:22:29 +00:00
diego 872a28cc57 Move conditional compilation out of the code and into the build system.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17524 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-31 23:36:12 +00:00
diego 65f186f4d0 proper support for shared libpostproc
patch by Nico Sabbi, fixes and consistency cleanups by me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17464 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-22 18:11:35 +00:00
henry c0e54fd248 malloc padding to avoid access beyond allocated memory
Credits to Mikulas Patocka (mikulas at artax karlin mff cuni cz)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17227 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-19 19:38:28 +00:00
michael 772ebb6456 bitexact flag
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17218 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-18 01:22:11 +00:00
michael f553d3d22f multithreaded decoding
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17081 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-02 22:00:50 +00:00
gpoirier 340feb8bbe make -lavdopts debug work again, patch by Jason Tackaberry ( tack AH sault POIS org )
Original thread:
Subject: Re: [MPlayer-dev-eng] [PATCH] make -lavdopts debug work again
Date: Fri, 2 Dec 2005 01:38:02 +0100


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17074 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-02 10:00:35 +00:00
reimar 77909fb136 do not set ctx->vo_inited when init fails. This caused a crash when a
matching colorspace is missing in codecs.conf.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16964 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 20:36:37 +00:00
reimar f6fb46ab20 print the first 16 bytes of frame data with -v -v, helps detect when
the demuxer messes up packetizing (-dumpvideo does not help here :-( )


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16498 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-16 11:30:33 +00:00
reimar 3d00641549 Support for skip options
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15987 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-17 00:18:42 +00:00
rtognimp d477750980 FFmpeg theora decoder support
It works only with libavformat demuxer


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15824 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-26 20:28:12 +00:00
henry 7be0f7efcf 10l for me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15695 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-08 07:05:49 +00:00
henry 2a739145e4 correcting the previous draw_slice fix
- don't draw slices beyond sh->disp_h
- draw slices sh->disp_w wide to avoid buffer overflow in VO


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15684 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-07 10:04:22 +00:00
henry 14fd015a15 check for display height when drawing slices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15679 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-07 06:33:51 +00:00
henry 8da4f67d76 quicktime fix update
- check for existence of sh->ImageDesc instead of h263 fourcc
- honor -lavdopts lowres


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15570 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-25 16:29:53 +00:00
henry 8d6814a3da prefer width&height from bitmapinfoheader for h263 streams
fixes playback of some MOV files
(http://mplayerhq.hu/pipermail/mplayer-dev-eng/2004-July/027777.html)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15568 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-25 09:20:50 +00:00
rtognimp 8a4994ac98 LOCO support via lavc
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15065 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-07 22:04:08 +00:00
reimar dfc63d36af "support" YUVJ colorspaces added to libavcodec, makes mjpeg decoding work again
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14598 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-26 19:06:56 +00:00
alex d8c2439bd6 wmv3 needs extradata
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14577 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-22 17:52:34 +00:00
reimar 479bdb2c08 change malloc and free to av_ variants where needed.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14432 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-08 19:16:21 +00:00
nicodvb 00b6d88ebf conditional lowres: activate lowres if frame width >= threshold
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14170 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-17 07:34:23 +00:00
michael b226c03e23 fix byteorder
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14119 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-06 04:11:17 +00:00
lorenm a063b1bf18 new lavc codec: ffvhuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14058 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-28 18:37:49 +00:00
michael 9f0ef64532 too large extradata
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13612 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-11 16:23:20 +00:00
michael c65ac515d8 compensate for width/height being picture width/height instead of bitstream width/height
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13490 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-27 10:08:57 +00:00
michael 7c2eafd04a low resolution decoding
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13474 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-26 12:54:00 +00:00
rtognimp 49bc246607 AVC support moved to libavcodec, avcC atom is now passed in extradata
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13334 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-13 21:21:48 +00:00
michael 05d729ee2b disable direct rendering for h264
until now we did try with dr, and disabled it if more then 1 reference frame was used, but that rarely resulted in dr+h264 and its not guranteed to work as stride may end up different, and remocing CODEC_CAP_DR1 from h264 in ffmpeg isnt correct either as the h264 codec does support it


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13276 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-07 01:20:19 +00:00
michael 418f5aecec non spec compliant optizations support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13231 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-02 16:52:13 +00:00
rtognimp b026fd05ae AVC (fourcc avc1) in mp4 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13191 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-29 13:52:19 +00:00
alex 974201fafe support for snow
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13076 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-21 19:46:24 +00:00
michael 459dbfa665 top/bottom mb row skipping
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12671 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 02:23:51 +00:00
rtognimp 283c3fb6f2 Segfault fix for some h264 in avi files
Patch by adland


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12535 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-06 13:48:30 +00:00
michael 138eac342d .mp4 with lavf support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12175 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-11 20:01:42 +00:00
michael 91cc2bf92e BGR16
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12172 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-11 19:19:46 +00:00