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.h | |
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.h')
-rw-r--r-- | libmpcodecs/vf.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libmpcodecs/vf.h b/libmpcodecs/vf.h index 00a6cf2166..32a44d286b 100644 --- a/libmpcodecs/vf.h +++ b/libmpcodecs/vf.h @@ -37,7 +37,7 @@ typedef struct vf_instance_s { void (*get_image)(struct vf_instance_s* vf, mp_image_t *mpi); int (*put_image)(struct vf_instance_s* vf, - mp_image_t *mpi); + mp_image_t *mpi, double pts); void (*start_slice)(struct vf_instance_s* vf, mp_image_t *mpi); void (*draw_slice)(struct vf_instance_s* vf, @@ -78,6 +78,10 @@ typedef struct vf_seteq_s #include "vfcap.h" +//FIXME this should be in a common header, but i dunno which +#define MP_NOPTS_VALUE (-1LL<<63) //both int64_t and double should be able to represent this exactly + + // functions: void vf_mpi_clear(mp_image_t* mpi,int x0,int y0,int w,int h); mp_image_t* vf_get_image(vf_instance_t* vf, unsigned int outfmt, int mp_imgtype, int mp_imgflag, int w, int h); @@ -96,7 +100,7 @@ int vf_next_config(struct vf_instance_s* vf, unsigned int flags, unsigned int outfmt); int vf_next_control(struct vf_instance_s* vf, int request, void* data); int vf_next_query_format(struct vf_instance_s* vf, unsigned int fmt); -int vf_next_put_image(struct vf_instance_s* vf,mp_image_t *mpi); +int vf_next_put_image(struct vf_instance_s* vf,mp_image_t *mpi, double pts); void vf_next_draw_slice (struct vf_instance_s* vf, unsigned char** src, int* stride, int w,int h, int x, int y); vf_instance_t* append_filters(vf_instance_t* last); |