view access_mpcontext.h @ 26006:ac00f0e343df

vf_sab mirrors coefficients past the edge of the picture instead of cropping: if (iy<0) iy= -iy; if(iy>=h) iy= h-iy-1; This produces -1,-2,-3... as it goes further past the end of an image, which crashes. Change this to h-1,h-2,h-3.. to avoid the crash. patch by Alexander Strange, astrange ithinksw com
author diego
date Wed, 20 Feb 2008 08:24:26 +0000
parents 304fc0bbefe1
children 4129c8cfa742
line wrap: on
line source

#ifndef ACCESS_MPCONTEXT_H
#define ACCESS_MPCONTEXT_H

struct MPContext;
const void *mpctx_get_video_out(struct MPContext *mpctx);
const void *mpctx_get_audio_out(struct MPContext *mpctx);
void *mpctx_get_demuxer(struct MPContext *mpctx);
void *mpctx_get_playtree_iter(struct MPContext *mpctx);
void *mpctx_get_mixer(struct MPContext *mpctx);
int mpctx_get_global_sub_size(struct MPContext *mpctx);
int mpctx_get_osd_function(struct MPContext *mpctx);

#endif /* ACCESS_MPCONTEXT_H */