[MPlayer-cvslog] r27398 - trunk/libmpcodecs/ve_raw.c

compn subversion at mplayerhq.hu
Sat Aug 2 20:41:43 CEST 2008


Author: compn
Date: Sat Aug  2 20:41:43 2008
New Revision: 27398

Log:
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


Modified:
   trunk/libmpcodecs/ve_raw.c

Modified: trunk/libmpcodecs/ve_raw.c
==============================================================================
--- trunk/libmpcodecs/ve_raw.c	(original)
+++ trunk/libmpcodecs/ve_raw.c	Sat Aug  2 20:41:43 2008
@@ -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;



More information about the MPlayer-cvslog mailing list