# HG changeset patch # User compn # Date 1217702503 0 # Node ID 067da68b5b16a95f2515caf663a87bc989596fd9 # Parent 13c920fdf7f5ba375df18f66439133f1e9ceaa79 change ve_raw.c:set_format to not overwrite biCompression if force_fourcc is set. fixes -ovc raw -ffourcc patch by "Andrew Wason" rectalogic !@! rectalogic !.! com diff -r 13c920fdf7f5 -r 067da68b5b16 libmpcodecs/ve_raw.c --- a/libmpcodecs/ve_raw.c Sat Aug 02 17:38:11 2008 +0000 +++ b/libmpcodecs/ve_raw.c Sat Aug 02 18:41:43 2008 +0000 @@ -27,6 +27,7 @@ #define mux_v (vf->priv->mux) static int set_format(struct vf_instance_s *vf, unsigned int fmt) { + if (!force_fourcc) mux_v->bih->biCompression = fmt; mux_v->bih->biPlanes = 1;