Commit Graph

27 Commits

Author SHA1 Message Date
attila 12882989fc skip null frames in mpeg files, patch by Zoltan Hidvegi <mplayer@hzoli.2y.net>
I have an mpeg2 avi (created with mencoder -oac copy -ovc copy from a
dvd) that has null frames, probably inserted by mencoder.  I can play
that with -vfm ffmpeg, but mplayer dump when played with the default
libmpeg2, the trivial patch below fixes that.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11081 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-11 11:21:54 +00:00
rfelker 48ecb3e717 clean up field flags:
1) cosmetic change, no reason these need to be mpeg2-specific
2) add a flag to tell when fields are ordered, so we don't have to
assume bff (which would usually be wrong) when field flags are not
available.
3) add other flags for future use :)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10664 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-18 14:49:06 +00:00
ranma 9f62dfb2c8 Add mpeg2_flags to mp_image_t, copy flags in vd_libmpeg2.c,
and add vf_softpulldown.c.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10511 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-03 12:09:58 +00:00
arpi 1e7ad12bf4 libmpeg2-altivec patch by Magnus Damm <damm@opensource.se>:
Make sure that altivec gets enabled in libmpeg2


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10268 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-09 12:10:42 +00:00
arpi 2f2918587f fixed mem corruption bugs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10251 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-06 19:12:08 +00:00
alex 6bcef87206 too verbose
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9939 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-19 14:33:38 +00:00
michael 40a073bea4 passing qscale_type around so the pp code can fix the mpeg2 <<1 thing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9926 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-18 13:18:59 +00:00
arpi dad8b4c2b5 w%8!=0 hack
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9920 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-15 19:02:00 +00:00
arpi 721a4640de Oops :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9861 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 16:49:23 +00:00
arpi 61a122e96f Rewritten, to use new libmpeg2 0.3.1 API
based on work by Fabian Franz <FabianFranz@gmx.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9860 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-04-06 16:43:46 +00:00
arpi 94b6f5baba usage of libmpeg2, liba52, mp3lib & svq1 can be disabled
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8027 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-01 16:40:15 +00:00
michael ba80103442 passing picture_type (might be usefull for postprocessing)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7958 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 11:26:26 +00:00
arpi 539d77e892 10l. use mpcodecs_draw_slice, instead of libvo directly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7757 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 19:26:30 +00:00
arpi 90398b7167 we don't need the 0x1FF hack any more
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7465 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-21 22:38:41 +00:00
arpi 1b667f61ba -afm/-vfm migration from ID (int) to NAME (string) - simplifies code and makes dlopen()'ing possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7181 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-30 21:44:20 +00:00
arpi c5b93b3e1e slices+field pictures fixed, initial sig11 workaround
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5676 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-18 15:03:08 +00:00
arpi 4efbbf02fa draw_slices with framedrop fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5614 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-14 01:21:13 +00:00
arpi 4a3916336d missing #ifdfe - 0.1l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5517 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-07 16:34:15 +00:00
arpi 2563ac95f0 quant_store moved to frame struct
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5516 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-07 16:32:54 +00:00
arpi eb72b1462d use -slices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5486 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-04 00:03:44 +00:00
arpi 4cfb38c8a2 rewritten - it replaces libmpeg2/decode.c now
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5466 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-03 02:39:02 +00:00
iive c1205011cc ported back hack for interlaced mpeg2, without it mplayer draws whole frame for every field -100% slowdown
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5361 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-26 17:05:09 +00:00
arpi d2052443ec mpegpes support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5146 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-16 20:36:24 +00:00
arpi ce04a5f401 handle error from mpcodecs_config_vo()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5125 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-16 01:10:31 +00:00
arpi a8e68dafc2 missing config_vo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5074 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-14 23:08:47 +00:00
arpi 154bbcd5b9 divx_quality and equalizer support done
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5004 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-09 19:18:46 +00:00
arpi 3879252453 mpng, libmpeg2 added, none of them finished :(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4999 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-03-09 02:18:33 +00:00