Mercurial > mplayer.hg
diff spudec.h @ 31599:cafeb7863de8
Add support for PGS subtitle decoding via libavcodec.
author | reimar |
---|---|
date | Sat, 10 Jul 2010 13:45:09 +0000 |
parents | c1a3f1bbba26 |
children | da0bfd02286c |
line wrap: on
line diff
--- a/spudec.h Sat Jul 10 13:43:04 2010 +0000 +++ b/spudec.h Sat Jul 10 13:45:09 2010 +0000 @@ -36,5 +36,9 @@ int spudec_changed(void *this); void spudec_calc_bbox(void *me, unsigned int dxs, unsigned int dys, unsigned int* bbox); void spudec_set_forced_subs_only(void * const this, const unsigned int flag); +void spudec_set_paletted(void *this, const uint8_t *pal_img, int stride, + const void *palette, + int x, int y, int w, int h, + double pts, double endpts); #endif /* MPLAYER_SPUDEC_H */