[Mplayer-cvslog] CVS: main/libmpcodecs vf_pp.c,1.2,1.3
Arpi of Ize
arpi at mplayer.dev.hu
Sun Apr 7 05:32:39 CEST 2002
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mplayer:/var/tmp.root/cvs-serv22431
Modified Files:
vf_pp.c
Log Message:
accept -pp value from args
Index: vf_pp.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/vf_pp.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- vf_pp.c 7 Apr 2002 03:25:25 -0000 1.2
+++ vf_pp.c 7 Apr 2002 03:32:36 -0000 1.3
@@ -61,9 +61,14 @@
extern int divx_quality;
static int open(vf_instance_t *vf, char* args){
+ char *endptr;
vf->get_image=get_image;
vf->put_image=put_image;
vf->priv=malloc(sizeof(struct vf_priv_s));
+ if(args){
+ vf->priv->pp=strtol(args, &endptr, 0);
+ if(!(*endptr)) return 1;
+ }
vf->priv->pp=divx_quality;
return 1;
}
More information about the MPlayer-cvslog
mailing list