aboutsummaryrefslogtreecommitdiffhomepage
path: root/mp_fifo.h
blob: 751de324b6e3daed52659b01b9abc1fa279b60cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef MPLAYER_MP_FIFO_H
#define MPLAYER_MP_FIFO_H

struct mp_fifo;
int mplayer_get_key(void *ctx, int fd);
void mplayer_put_key(struct mp_fifo *fifo, int code);
// Can be freed with talloc_free()
struct MPOpts;
struct mp_fifo *mp_fifo_create(struct MPOpts *opts);


#ifdef IS_OLD_VO
#define mplayer_put_key(key) mplayer_put_key(global_vo->key_fifo, key)
#endif

#endif /* MPLAYER_MP_FIFO_H */