rpm: Remove MEncoder from rpm packaging
[mplayer/glamo.git] / mp_fifo.h
blob125b67eb2c09aea6633e48a2732e20e09cf8f1fb
1 /*
2 * This file is part of MPlayer.
4 * MPlayer is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * MPlayer is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License along
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19 #ifndef MPLAYER_MP_FIFO_H
20 #define MPLAYER_MP_FIFO_H
22 struct mp_fifo;
23 int mplayer_get_key(void *ctx, int fd);
24 void mplayer_put_key(struct mp_fifo *fifo, int code);
25 // Can be freed with talloc_free()
26 struct MPOpts;
27 struct mp_fifo *mp_fifo_create(struct MPOpts *opts);
30 #ifdef IS_OLD_VO
31 #define mplayer_put_key(key) mplayer_put_key(global_vo->key_fifo, key)
32 #endif
34 #endif /* MPLAYER_MP_FIFO_H */