view mp_fifo.h @ 30017:7119354805e7

Use on-stack subtitle struct for temporary storage for passing subtitles on for rendering by libass. This avoids mangling the static subtitle struct that is supposed to contain the subtitles that will actually be displayed and it also minimally reduces memory usage by freeing the subtitle lines again as early as possible.
author reimar
date Fri, 18 Dec 2009 19:29:33 +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 */