summaryrefslogtreecommitdiffstats
path: root/vobsub.h
diff options
context:
space:
mode:
authorkmkaplan <kmkaplan@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-29 03:17:57 +0000
committerkmkaplan <kmkaplan@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-29 03:17:57 +0000
commit4d38521e2cd1e62ef334a73624cbd4a95f1de436 (patch)
tree4062471fbc1275741c53a621d3a761176cf69d2e /vobsub.h
parent7498cf71456f9b64005250c9c780797d169ba23d (diff)
downloadmpv-4d38521e2cd1e62ef334a73624cbd4a95f1de436.tar.bz2
mpv-4d38521e2cd1e62ef334a73624cbd4a95f1de436.tar.xz
* New command line switch for mplayer & mencoder:
-ifo <ifo file> Indicate the file that will be used to load palette and frame size for MPEG subtitles. * mencoder.c: Fix cropping when decoding MPEG2. * spudec.c: If scaling is needed only do it once. Change WITH_NO_ANTIALIASING to ANTIALIASING_ALGORITHM. * vobsub.c: Support reading info regarding size and palette from IDX file instead of IFO file. Support streams containing audio or video. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5389 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vobsub.h')
-rw-r--r--vobsub.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vobsub.h b/vobsub.h
index b26aa8aa5d..a5700c06b3 100644
--- a/vobsub.h
+++ b/vobsub.h
@@ -5,5 +5,6 @@ extern void *vobsub_open(const char *subname, const int force);
extern void vobsub_process(void *vob, float pts);
extern void vobsub_reset(void *vob);
extern void vobsub_draw(void *vob, int dxs, int dys, void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
+extern int vobsub_parse_ifo(const char *const name, unsigned int *palette, unsigned int *width, unsigned int *height, int force);
#endif /* MPLAYER_VOBSUB_H */