Mercurial > mplayer.hg
comparison libmpcodecs/ve_qtvideo.c @ 14878:5723c4b2a2ea
fixes for encoding of multiple files
- do not uninitialize video encoder between files
- checks for image size & format change moved from mencoder.c to vfilters
by Oded Shimon <ods15@ods15.dyndns.org>
author | henry |
---|---|
date | Tue, 01 Mar 2005 20:21:58 +0000 |
parents | acf3241be19b |
children | 05aa13cdf92f |
comparison
equal
deleted
inserted
replaced
14877:db1f17e9b7a2 | 14878:5723c4b2a2ea |
---|---|
276 //===========================================================================// | 276 //===========================================================================// |
277 | 277 |
278 static int vf_open(vf_instance_t *vf, char* args){ | 278 static int vf_open(vf_instance_t *vf, char* args){ |
279 OSErr cres = 1; | 279 OSErr cres = 1; |
280 vf->config=config; | 280 vf->config=config; |
281 vf->default_caps=VFCAP_CONSTANT; | |
281 vf->control=control; | 282 vf->control=control; |
282 vf->query_format=query_format; | 283 vf->query_format=query_format; |
283 vf->put_image=put_image; | 284 vf->put_image=put_image; |
284 vf->priv=malloc(sizeof(struct vf_priv_s)); | 285 vf->priv=malloc(sizeof(struct vf_priv_s)); |
285 memset(vf->priv,0,sizeof(struct vf_priv_s)); | 286 memset(vf->priv,0,sizeof(struct vf_priv_s)); |