[MPlayer-dev-eng] [RFC] rc2 at the beginning of October
Roberto Togni
rxt at rtogni.it
Wed Sep 26 21:59:00 CEST 2007
On Tue, 25 Sep 2007 09:23:32 +0200
Diego Biurrun <diego at biurrun.de> wrote:
[...]
> > I just quickly checked game formats and noticed the following issues and
> > regressions:
> >
> > * http://samples.mplayerhq.hu/game-formats/idroq/
> > used to work fine in rc1, now fails during colorspace negotiation.
>
> OK, I found and fixed the colorspace issue, but it's still not working.
> Now I get tons of the following messages and no picture:
>
> [VD_FFMPEG] DRI failure.
> [roqvideo @ 0x888fbf0]pic->data[0]!=NULL in avcodec_default_get_buffer
> [roqvideo @ 0x888fbf0] RoQ: get_buffer() failed
> Error while decoding frame!
>
> This problem was introduced by FFmpeg r9168:
>
> ------------------------------------------------------------------------
> r9168 | michael | 2007-06-01 23:17:05 +0200 (Fri, 01 Jun 2007) | 3 lines
> Changed paths:
> M /trunk/libavcodec/roqvideo.h
> M /trunk/libavcodec/roqvideodec.c
>
> fix skipped blocks
> fixes decoding of
> (http://samples.mplayerhq.hu/game-formats/idroq/bf2introseg.roq)
> ------------------------------------------------------------------------
>
> Reverting this commit fixes the problem, as does applying the following
> hunk to my local tree:
>
> --- libavcodec/roqvideodec.c (revision 10571)
> +++ libavcodec/roqvideodec.c (working copy)
> @@ -220,5 +220,5 @@
> NULL,
> roq_decode_end,
> roq_decode_frame,
> - CODEC_CAP_DR1,
> + NULL,
> };
>
> Any further ideas?
The attached patch fixes it without touching ffmpeg, disabling direct
rendering as already done for other codecs.
The NULL error can be fixed also by setting the correct buffer hints
before the reget_buffer() call (s->frame.buffer_hints =
FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE |
FF_BUFFER_HINTS_REUSABLE;), but i get many artifacts in this way
(looks like mc is done from the wrong frame)
Ciao,
Roberto
--
Better is the enemy of good enough.
More information about the MPlayer-dev-eng
mailing list