diff options
author | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-21 21:26:42 +0000 |
---|---|---|
committer | michael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-03-21 21:26:42 +0000 |
commit | 02b199e5e93926cc106774068eb3e883826c3ae4 (patch) | |
tree | 4dfe84f1d807e9fc598c347511bb9dfa84157500 /libmpcodecs/vf_yuvcsp.c | |
parent | aa6943767de4902e5b29e9952e252a1e75aac7ac (diff) | |
download | mpv-02b199e5e93926cc106774068eb3e883826c3ae4.tar.bz2 mpv-02b199e5e93926cc106774068eb3e883826c3ae4.tar.xz |
passing pts through the filter layer (lets see if pts or cola comes out at the end)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17907 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/vf_yuvcsp.c')
-rw-r--r-- | libmpcodecs/vf_yuvcsp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpcodecs/vf_yuvcsp.c b/libmpcodecs/vf_yuvcsp.c index a033a302aa..7850eb747a 100644 --- a/libmpcodecs/vf_yuvcsp.c +++ b/libmpcodecs/vf_yuvcsp.c @@ -30,7 +30,7 @@ static inline int clamp_c(int x){ return (x > 240) ? 240 : (x < 16) ? 16 : x; } -static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ +static int put_image(struct vf_instance_s* vf, mp_image_t *mpi, double pts){ int i,j; uint8_t *y_in, *cb_in, *cr_in; uint8_t *y_out, *cb_out, *cr_out; @@ -58,7 +58,7 @@ static int put_image(struct vf_instance_s* vf, mp_image_t *mpi){ cr_out[i*vf->dmpi->stride[2]+j] = clamp_c(cr_in[i*mpi->stride[2]+j]); } - return vf_next_put_image(vf,vf->dmpi); + return vf_next_put_image(vf,vf->dmpi, pts); } //===========================================================================// |