changeset 24004:73e5eb586eb6

make x264 work again after the h264-libx264 renaming
author michael
date Tue, 07 Aug 2007 18:48:13 +0000
parents 5207d09dbb67
children 9ed49a1027f7
files libmpcodecs/ve_lavc.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c	Tue Aug 07 17:59:42 2007 +0000
+++ b/libmpcodecs/ve_lavc.c	Tue Aug 07 18:48:13 2007 +0000
@@ -1010,6 +1010,8 @@
 	mux_v->bih->biCompression = mmioFOURCC('F', 'L', 'V', '1');
     else if (!strcasecmp(lavc_param_vcodec, "dvvideo"))
 	mux_v->bih->biCompression = mmioFOURCC('d', 'v', 's', 'd');
+    else if (!strcasecmp(lavc_param_vcodec, "libx264"))
+	mux_v->bih->biCompression = mmioFOURCC('h', '2', '6', '4');
     else
 	mux_v->bih->biCompression = mmioFOURCC(lavc_param_vcodec[0],
 		lavc_param_vcodec[1], lavc_param_vcodec[2], lavc_param_vcodec[3]); /* FIXME!!! */