Mercurial > mplayer.hg
view mp_fifo.h @ 27427:a54c51af6595
demux_lavf: fix mp_seek behavior in case of seeking error
When trying to seek past the end of file, the ByteIOContext expect
that the stream is left in the same state as it was before the
tentative seek. stream_seek() does not meet this expectation.
It changes current position when seeking past the end of file.
Thus, it is necessary to reset the stream to its previous state
after a seek failure.
author | aurel |
---|---|
date | Wed, 13 Aug 2008 00:01:31 +0000 |
parents | 4129c8cfa742 |
children | c1a3f1bbba26 |
line wrap: on
line source
#ifndef MPLAYER_MP_FIFO_H #define MPLAYER_MP_FIFO_H int mplayer_get_key(int fd); void mplayer_put_key(int code); #endif /* MPLAYER_MP_FIFO_H */