Mercurial > mplayer.hg
comparison libmpcodecs/ve_x264.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 | 073b10b68565 |
children | 68582488a5d6 |
comparison
equal
deleted
inserted
replaced
14877:db1f17e9b7a2 | 14878:5723c4b2a2ea |
---|---|
373 | 373 |
374 static int vf_open(vf_instance_t *vf, char *args) { | 374 static int vf_open(vf_instance_t *vf, char *args) { |
375 h264_module_t *mod; | 375 h264_module_t *mod; |
376 | 376 |
377 vf->config = config; | 377 vf->config = config; |
378 vf->default_caps = VFCAP_CONSTANT; | |
378 vf->control = control; | 379 vf->control = control; |
379 vf->query_format = query_format; | 380 vf->query_format = query_format; |
380 vf->put_image = put_image; | 381 vf->put_image = put_image; |
381 vf->uninit = uninit; | 382 vf->uninit = uninit; |
382 vf->priv = malloc(sizeof(h264_module_t)); | 383 vf->priv = malloc(sizeof(h264_module_t)); |