Mercurial > mplayer.hg
comparison libmpcodecs/vf_divtc.c @ 17906:20aca9baf5d8
passing pts through the filter layer (lets see if pts or cola comes out at the end)
author | michael |
---|---|
date | Tue, 21 Mar 2006 21:26:42 +0000 |
parents | 6ff3379a0862 |
children | 7b408d60de9e |
comparison
equal
deleted
inserted
replaced
17905:433494f162a9 | 17906:20aca9baf5d8 |
---|---|
233 } | 233 } |
234 | 234 |
235 return m; | 235 return m; |
236 } | 236 } |
237 | 237 |
238 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi) | 238 static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts) |
239 { | 239 { |
240 mp_image_t *dmpi, *tmpi=0; | 240 mp_image_t *dmpi, *tmpi=0; |
241 int n, m, f, newphase; | 241 int n, m, f, newphase; |
242 struct vf_priv_s *p=vf->priv; | 242 struct vf_priv_s *p=vf->priv; |
243 unsigned int checksum; | 243 unsigned int checksum; |
348 vf_clone_mpi_attributes(tmpi, mpi); | 348 vf_clone_mpi_attributes(tmpi, mpi); |
349 | 349 |
350 imgop((void *)memcpy_pic, tmpi, mpi, 0); | 350 imgop((void *)memcpy_pic, tmpi, mpi, 0); |
351 imgop(deghost_plane, tmpi, dmpi, p->deghost); | 351 imgop(deghost_plane, tmpi, dmpi, p->deghost); |
352 imgop((void *)memcpy_pic, dmpi, mpi, 0); | 352 imgop((void *)memcpy_pic, dmpi, mpi, 0); |
353 return vf_next_put_image(vf, tmpi); | 353 return vf_next_put_image(vf, tmpi, MP_NOPTS_VALUE); |
354 } | 354 } |
355 } | 355 } |
356 | 356 |
357 imgop((void *)memcpy_pic, dmpi, mpi, 0); | 357 imgop((void *)memcpy_pic, dmpi, mpi, 0); |
358 return vf_next_put_image(vf, dmpi); | 358 return vf_next_put_image(vf, dmpi, MP_NOPTS_VALUE); |
359 } | 359 } |
360 | 360 |
361 static int analyze(struct vf_priv_s *p) | 361 static int analyze(struct vf_priv_s *p) |
362 { | 362 { |
363 int *buf=0, *bp, bufsize=0, n, b, f, i, j, m, s; | 363 int *buf=0, *bp, bufsize=0, n, b, f, i, j, m, s; |