summaryrefslogtreecommitdiffstats
path: root/vobsub.h
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-17 23:47:27 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-17 23:47:27 +0000
commit7562937d959ec617d4f78fd6d06aed7164b22255 (patch)
treecb02ee86d7cd802d4e20e0f077e07b57b9c188b0 /vobsub.h
parent517a1ee64f4c6caf9b542bdf18f2a95c5298a3e0 (diff)
downloadmpv-7562937d959ec617d4f78fd6d06aed7164b22255.tar.bz2
mpv-7562937d959ec617d4f78fd6d06aed7164b22255.tar.xz
Improvment for spu subtitles.
Removed the integreted spudec in vobsub. Various cleanup/bugfix in vobsub (no more auto palette when a true one is here) HW spu rendering moved in spudec because we first need to reassable the packet before sending them to the hw. Spudec is now created only if nedded. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6111 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'vobsub.h')
-rw-r--r--vobsub.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/vobsub.h b/vobsub.h
index a5700c06b3..a1b713d8e5 100644
--- a/vobsub.h
+++ b/vobsub.h
@@ -1,10 +1,10 @@
#ifndef MPLAYER_VOBSUB_H
#define MPLAYER_VOBSUB_H
-extern void *vobsub_open(const char *subname, const int force);
-extern void vobsub_process(void *vob, float pts);
+extern void *vobsub_open(const char *subname, const char *const ifo, const int force, void** spu);
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);
+extern int vobsub_parse_ifo(void* this, const char *const name, unsigned int *palette, unsigned int *width, unsigned int *height, int force);
+extern int vobsub_get_packet(void *vobhandle, float pts,void** data, int* timestamp);
+extern void vobsub_close(void *this);
#endif /* MPLAYER_VOBSUB_H */