{"push_id":1001089176,"size":5,"distinct_size":0,"ref":"refs/heads/master","head":"46a3165cde956683e514788f625a87b3380ddf7c","before":"af66fa8fa5d8e46b26a08a2b241f03d46abb3c2b","commits":[{"sha":"33774e18ed4c49857c042870099e3e3dd6fe614d","author":{"email":"af2b84f09c8719e0f2b649c9464c0e4e09337b2e@nowhere","name":"wm4"},"message":"command: add encoder-list property\n\nAlso change decoder-list (for the sake of sharing the underlying code\nfor both properties).","distinct":false,"url":"https://api.github.com/repos/avih/mpv/commits/33774e18ed4c49857c042870099e3e3dd6fe614d"},{"sha":"e0944991973c04701c830647a3f943b43d546b20","author":{"email":"af2b84f09c8719e0f2b649c9464c0e4e09337b2e@nowhere","name":"wm4"},"message":"msg: use dynamic buffer for message formatting\n\nUntil now, a rather large stack buffer was used for this, and also a\nstatic buffer in mp_log_root. The latter was added to buffer partial\nlines, and the stack buffer was used only for MSGL_STATUS and MSGL_STATS\n(I guess because these are the most likely/severe to clash with partial\nline buffering).\n\nMake the buffer in mp_log_root dynamically sized, so we don't get cut\noff log lines if the text is excessively large. (The OpenGL extension\nlist dumped by vo_opengl is such an example.)\n\nSince we still have to support partial line buffering (FFmpeg's log\ncallbacks leave no other choice), keep the stack buffer. But make it\nsmaller; there's no way all ~6KB are going to be needed in any\nsituation.","distinct":false,"url":"https://api.github.com/repos/avih/mpv/commits/e0944991973c04701c830647a3f943b43d546b20"},{"sha":"4e53272376c546bac2e5c73f7ebfe456162d3663","author":{"email":"af2b84f09c8719e0f2b649c9464c0e4e09337b2e@nowhere","name":"wm4"},"message":"av_log: avoid partial lines\n\nWe want to add a prefix to the ffmpeg log message, so we called mp_msg\nmultiple times until now. But logging such partial lines is a race\ncondition, because there's only one internal mp_msg buffer, and no\nexternal mp_msg locks.\n\nAvoid this by building the message on a stack buffer.\n\nI might make a mp_log-local partial line buffer, but even then av_log()\ncan be called from multiple threads, while targetting the same mp_log.\n(Really, ffmpeg's log API needs to be fixed.)","distinct":false,"url":"https://api.github.com/repos/avih/mpv/commits/4e53272376c546bac2e5c73f7ebfe456162d3663"},{"sha":"a5eef06225f17890a0f49dc4c797ff0a3171cdd0","author":{"email":"af2b84f09c8719e0f2b649c9464c0e4e09337b2e@nowhere","name":"wm4"},"message":"msg: minor simplification\n\nInstead of playing ugly tricks with the buffer to append a \\r or \\n to\nthe text buffer, extend print_terminal_line() to print a second string.","distinct":false,"url":"https://api.github.com/repos/avih/mpv/commits/a5eef06225f17890a0f49dc4c797ff0a3171cdd0"},{"sha":"46a3165cde956683e514788f625a87b3380ddf7c","author":{"email":"af2b84f09c8719e0f2b649c9464c0e4e09337b2e@nowhere","name":"wm4"},"message":"msg: introduce partial line buffers per mp_log\n\nThe goal is reducing log messups (which happen surprisingly often) by\nbuffering partial lines in mp_log. This is still not 100% reliable, but\nbetter.\n\nThe extrabuffers for MSGL_STATUS and MSGL_STATS are not needed anymore,\nbecause a separate mp_log instance can be used if problems really occur.\n\nAlso, give up, and replace the snprintf acrobatics with bstr.\n\nmp_log.partial has a quite subtle problem wrt. talloc: talloc parents\ncan not be used, because there's no lock around the internal talloc\nstructures associated with mp_log. Thus it has to be freed manually,\neven if this happens through a talloc destructor.","distinct":false,"url":"https://api.github.com/repos/avih/mpv/commits/46a3165cde956683e514788f625a87b3380ddf7c"}]}