view mp_fifo.h @ 24678:9aab9d7b51f0

Fix missing subtitles after seeking back Subtitle packets that had been demuxed but whose start time had not yet been reached were left in the demuxer stream after seeking. When using the default (non-libass) subtitle rendering this could block subtitles from appearing as long as the playback position stayed below the original one before seek. External subtitle files were not affected. Fixed by making seek code free all packets from the subtitle stream.
author uau
date Thu, 04 Oct 2007 02:35:34 +0000
parents cd0ec0b1d931
children dfca45ad9326
line wrap: on
line source

#ifndef MP_FIFO_H
#define MP_FIFO_H

int mplayer_get_key(int fd);
void mplayer_put_key(int code);

#endif