Mercurial > mplayer.hg
view mpcommon.h @ 26089:e2f35d90ad39
Set audio->sh correctly when switching audio tracks. The same for video tracks.
Demuxers almost never update audio->sh or sub->sh when swithing tracks. It is
especially bad when switching to no sound, and results in "too many audio
packets" error.
author | eugeni |
---|---|
date | Fri, 29 Feb 2008 17:25:48 +0000 |
parents | 4129c8cfa742 |
children | c585e2ad8ebf |
line wrap: on
line source
#ifndef MPLAYER_MPCOMMON_H #define MPLAYER_MPCOMMON_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); #endif /* MPLAYER_MPCOMMON_H */