Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ipc: skip empty and commented lines | wm4 | 2014-10-19 | 1 | -2/+4 |
| | |||||
* | ipc: accept both JSON and "old" commands | wm4 | 2014-10-19 | 1 | -30/+27 |
| | | | | Minimizes the differences between --input-file and --input-unix-socket. | ||||
* | ipc: fix minor error cleanup issues | wm4 | 2014-10-19 | 1 | -8/+8 |
| | | | | | | | | | | | | | | The ipc_thread can exit any time, and will free the mp_ipc_ctx when doing this, leaving a dangling pointer. This was somewhat handled in the original commit by setting mpctx->ipc_ctx to NULL when the thread exited, but that was still a race condition. Handle it by freeing most things after joining the ipc_thread. This means some resources will not be freed until player exit, but that should be ok (it's an exceptional error situation). Also, actually close the pipe FDs in mp_init_ipc() on another error path. | ||||
* | ipc: decouple from MPContext | wm4 | 2014-10-19 | 1 | -41/+43 |
| | | | | Just a minor refactor to keep unneeded dependencies on the core low. | ||||
* | ipc: fix a small memory leak | wm4 | 2014-10-17 | 1 | -1/+2 |
| | |||||
* | input: implement --input-file on unix using the IPC support | Alessandro Ghedini | 2014-10-17 | 1 | -11/+55 |
| | |||||
* | input: implement JSON-based IPC protocol | Alessandro Ghedini | 2014-10-17 | 1 | -0/+723 |