Commit Graph

188 Commits

Author SHA1 Message Date
diego 4f452096c0 cosmetics: Fix some common typos, appropiate --> appropRiate,
handEling --> handling, dependAnt --> dependEnt.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22334 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-24 10:27:14 +00:00
nicodvb e32cbbf7dc reinit the vo when aspect ratio changes; patch by C.E. Hoyos approved by Michael
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22295 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-20 20:09:29 +00:00
michael ebe6884d2a mplayer canot handle DR1 with CODEC_ID_INTERPLAY_VIDEO (later needs too many buffers it seems)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22240 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-17 03:02:38 +00:00
iive cb3c29effe Revert part of commit r22170.
FFmpeg lavcodecs version is still 
(or according to ffmpeg commit r7868, it's back to)
49.3.0, so global variables are not yet directly accessable (if ever).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22171 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-07 12:31:37 +00:00
reimar 8ff440d6a4 Fix compilation after deprecation of some lav log level and
pixel format stuff.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22170 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-07 09:58:23 +00:00
reimar c8e55fd4bc Add missing checks in RealVideo slice handling code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22165 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-06 18:30:56 +00:00
reimar d157c5e4d2 Cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22110 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-03 13:20:31 +00:00
reimar 5f37d3fbc6 Avoid crash in uninit if codec not found
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22109 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-03 13:19:21 +00:00
reimar 2b9be36ccc Swap palette on bigendian.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22094 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-31 18:14:47 +00:00
reimar db6e74fe44 BE_32 -> AV_RB32
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21964 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-19 23:15:53 +00:00
reimar 6caf5586ee Get rid of min/max macros from aviheader.h, they do not belong here.
Replace their uses by FFMIN/FFMAX


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21547 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-09 12:24:11 +00:00
reimar 18004d2d98 Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21523 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-07 11:58:07 +00:00
reimar 10021f03bc Fix memleak if vd_ffmpeg init fails
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21514 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-06 10:41:34 +00:00
reimar 6d0d8d71f8 Compile fix, BE_32 definition has been moved
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21473 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-03 17:46:37 +00:00
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