changeset 32943:d1c2c8899ec1

Add VP8 fourcc. Patch by James Zern, jzern at google
author cehoyos
date Sat, 05 Mar 2011 14:25:37 +0000
parents e3dfc7e2b0f8
children 27a98940e3aa
files libmpcodecs/ve_lavc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c	Sat Mar 05 12:27:15 2011 +0000
+++ b/libmpcodecs/ve_lavc.c	Sat Mar 05 14:25:37 2011 +0000
@@ -1028,6 +1028,8 @@
 	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!!! */