mpv/common
wm4 3b7402b51c client API: call wakeup callback if there are new messages
Listening on messages currently uses polling (every time
mpv_wait_event() has no new events, the message buffer is polled and a
message event is possibly created). Improve this situation a bit, and
call the user-supplied wakeup callback.

This will increase the frequency with which the wakeup callback is
called, but the client is already supposed to be able to deal with this
situation. Also, as before, calling mpv_wait_event() from the wakeup
callback is forbidden, so the client can't read new messages from the
callback directly.

The wakeup pipe is written either. Since the wakeup pipe is created
lazily, we can't access the pipe handle without creating a race
condition or a deadlock. (This is actually very silly, since in practice
the race condition won't matter, but for now let's keep it clean.)
2014-06-06 19:24:30 +02:00
..
av_common.c Factor out setting AVCodecContext extradata 2014-01-11 01:25:49 +01:00
av_common.h Factor out setting AVCodecContext extradata 2014-01-11 01:25:49 +01:00
av_log.c av_log: add tons of warnings against mismatched ffmpeg/libav libraries 2014-02-10 23:28:10 +01:00
av_log.h av_log: mp_msg conversion 2013-12-21 21:43:16 +01:00
av_opts.c
av_opts.h
codecs.c msg: rename mp_msg_log -> mp_msg 2013-12-21 22:13:04 +01:00
codecs.h codecs: mp_msg conversion 2013-12-21 20:50:12 +01:00
common.c common: change mp_snprintf_append semantics 2014-05-05 23:56:12 +02:00
common.h common: change MP_NOPTS_VALUE definition 2014-05-10 10:44:16 +02:00
encode.h encode_lavc: copy metadata to output file 2014-03-30 20:04:20 +02:00
encode_lavc.c encoding: No error when the output format doesn't support a stream type at all. 2014-05-16 21:41:32 +02:00
encode_lavc.h encode_lavc: copy metadata to output file 2014-03-30 20:04:20 +02:00
global.h stream: remove interrupt callback global variables 2014-04-25 19:12:24 +02:00
msg.c client API: call wakeup callback if there are new messages 2014-06-06 19:24:30 +02:00
msg.h options: remove deprecated --identify 2014-05-04 02:46:11 +02:00
msg_control.h client API: call wakeup callback if there are new messages 2014-06-06 19:24:30 +02:00
playlist.c playlist: fix playlist_move on itself 2014-05-25 19:42:51 +02:00
playlist.h player: remove ASX, SMIL and NSC playlist parsers 2014-04-13 15:40:05 +02:00
tags.c mp_tags: move generic mp_tags stuff into its own .c/.h files in common/ 2014-04-13 18:03:01 +02:00
tags.h mp_tags: move generic mp_tags stuff into its own .c/.h files in common/ 2014-04-13 18:03:01 +02:00
version.c Don't include version.h from make options.c 2013-12-22 14:35:45 +01:00