Mercurial > mplayer.hg
diff libmpcodecs/vf.c @ 9934:89da8ec89558
vf_clone_mpi_attributes()
| author | michael |
|---|---|
| date | Sat, 19 Apr 2003 02:48:53 +0000 |
| parents | 3548701a13fe |
| children | 6293e6f02fe3 |
line wrap: on
line diff
--- a/libmpcodecs/vf.c Sat Apr 19 01:39:37 2003 +0000 +++ b/libmpcodecs/vf.c Sat Apr 19 02:48:53 2003 +0000 @@ -422,6 +422,15 @@ return best; } +void vf_clone_mpi_attributes(mp_image_t* dst, mp_image_t* src){ + dst->pict_type= src->pict_type; + dst->qscale_type= src->qscale_type; + if(dst->width == src->width && dst->height == src->height){ + dst->qstride= src->qstride; + dst->qscale= src->qscale; + } +} + int vf_next_config(struct vf_instance_s* vf, int width, int height, int d_width, int d_height, unsigned int voflags, unsigned int outfmt){
