From cae7631dbe265ceea9b58c32b6812532202bd9cb Mon Sep 17 00:00:00 2001 From: compn Date: Sat, 2 Aug 2008 18:41:43 +0000 Subject: 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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27398 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ve_raw.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libmpcodecs') diff --git a/libmpcodecs/ve_raw.c b/libmpcodecs/ve_raw.c index 691d1c11d5..09b5471edf 100644 --- a/libmpcodecs/ve_raw.c +++ b/libmpcodecs/ve_raw.c @@ -27,6 +27,7 @@ struct vf_priv_s { #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; -- cgit v1.2.3