[Mplayer-cvslog] CVS: main/libmpcodecs vf_pp.c,1.29,1.30

Alex Beregszaszi alex at mplayerhq.hu
Mon Sep 1 00:18:30 CEST 2003


Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var/tmp.root/cvs-serv14626/libmpcodecs

Modified Files:
	vf_pp.c 
Log Message:
remove read/revert hack

Index: vf_pp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_pp.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- vf_pp.c	20 May 2003 18:36:55 -0000	1.29
+++ vf_pp.c	31 Aug 2003 22:18:27 -0000	1.30
@@ -210,31 +210,8 @@
     }
 #endif
     
-    vf->priv->pp=PP_QUALITY_MAX; //divx_quality;
+    vf->priv->pp=PP_QUALITY_MAX;
     return 1;
-}
-
-int readPPOpt(void *conf, char *arg)
-{
-  int val;
-
-  if(arg == NULL)
-    return -2; // ERR_MISSING_PARAM
-  errno = 0;
-  val = (int)strtol(arg,NULL,0);
-  if(errno != 0)
-    return -4;  // What about include cfgparser.h and use ERR_* defines */
-  if(val < 0)
-    return -3; // ERR_OUT_OF_RANGE
-
-  divx_quality = val;
-
-  return 1;
-}
-  
-void revertPPOpt(void *conf, char* opt) 
-{
-  divx_quality=0;
 }
 
 vf_info_t vf_info_pp = {



More information about the MPlayer-cvslog mailing list