[MPlayer-dev-eng] [PATCH] ve_lavc: add VP8 fourcc
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sat Mar 5 14:00:02 CET 2011
On Fri, Mar 04, 2011 at 04:22:13PM -0800, James Zern wrote:
> Avoids the need for -ffourcc VP80 when using mencoder.
> Index: libmpcodecs/ve_lavc.c
> ===================================================================
> --- libmpcodecs/ve_lavc.c (revision 33025)
> +++ libmpcodecs/ve_lavc.c (working copy)
> @@ -1028,6 +1028,8 @@ static int vf_open(vf_instance_t *vf, ch
> mux_v->bih->biCompression = mmioFOURCC('d', 'r', 'a', 'c');
> else if (!strcasecmp(lavc_param_vcodec, "libdirac"))
> mux_v->bih->biCompression = mmioFOURCC('d', 'r', 'a', 'c');
> + else if (!strcasecmp(lavc_param_vcodec, "libvpx"))
> + mux_v->bih->biCompression = mmioFOURCC('V', 'P', '8', '0');
> else
> mux_v->bih->biCompression = mmioFOURCC(lavc_param_vcodec[0],
> lavc_param_vcodec[1], lavc_param_vcodec[2], lavc_param_vcodec[3]); /* FIXME!!! */
Looks ok to me.
More information about the MPlayer-dev-eng
mailing list