[FFmpeg-devel] [RFC] ffplay direct rendering with libavfilter

Vitor Sessak vitor1001
Sun Mar 21 12:14:11 CET 2010


Bobby Bingham wrote:
> I haven't dealt much with the codec API yet, so I wouldn't be surprised
> if I'm doing something wrong. So I'm posting this for feedback.  No
> slices support yet. The EMU_EDGE handling is ugly - is there a way to
> get the value of EDGE_WIDTH from outside of libavcodec?
> 
> I've tested it with videos encoded with a few different codecs and it
> seems to work.

Nice! \o/

Just one thing, what about of this code (at ffplay.c:1418):

>         //FIXME use direct rendering
>         av_picture_copy(&pict, &pict_src,
>                         vp->pix_fmt, vp->width, vp->height);

It should be removed also, no?

-Vitor



More information about the ffmpeg-devel mailing list