Mercurial > mplayer.hg
view mpcommon.h @ 26889:32ab01bb3404
Clear iconv conversion state after each subtitle line.
This fixes a bug when the last character on a subtitle line
is sometimes moved to the beginning of the next line.
Patch by Guy Shapiro, bugs sguy org.
author | eugeni |
---|---|
date | Thu, 29 May 2008 18:35:17 +0000 |
parents | 9d53b15aed02 |
children | 21504ba0f5d3 |
line wrap: on
line source
#ifndef MPLAYER_MPCOMMON_H #define MPLAYER_MPCOMMON_H #include "subreader.h" #include "libmpdemux/demuxer.h" #include "libmpdemux/stheader.h" extern double sub_last_pts; extern struct ass_track_s *ass_track; extern subtitle *vo_sub_last; void update_subtitles(sh_video_t *sh_video, demux_stream_t *d_dvdsub, int reset); void update_teletext(sh_video_t *sh_video, demuxer_t *demuxer, int reset); int select_audio(demuxer_t* demuxer, int audio_id, char* audio_lang); extern int disable_system_conf; extern int disable_user_conf; #endif /* MPLAYER_MPCOMMON_H */