Re: [FFmpeg-devel] [PATCH 2/5] lavc: replace and deprecate the lock manager

2017-12-23 Thread wm4
On Sat, 23 Dec 2017 22:32:36 +0100 Michael Niedermayer wrote: > On Thu, Dec 21, 2017 at 11:22:21PM +0100, wm4 wrote: > > Use static mutexes instead of requiring a lock manager. The behavior > > should be roughly the same before and after this change for API users > > which did not set the lock ma

Re: [FFmpeg-devel] [PATCH 2/5] lavc: replace and deprecate the lock manager

2017-12-23 Thread Michael Niedermayer
On Thu, Dec 21, 2017 at 11:22:21PM +0100, wm4 wrote: > Use static mutexes instead of requiring a lock manager. The behavior > should be roughly the same before and after this change for API users > which did not set the lock manager at all (except that a minor memory > leak disappears). > --- > do

Re: [FFmpeg-devel] [PATCH 2/5] lavc: replace and deprecate the lock manager

2017-12-22 Thread wm4
On Sat, 23 Dec 2017 02:25:11 +0100 Michael Niedermayer wrote: > On Thu, Dec 21, 2017 at 11:22:21PM +0100, wm4 wrote: > > Use static mutexes instead of requiring a lock manager. The behavior > > should be roughly the same before and after this change for API users > > which did not set the lock ma

Re: [FFmpeg-devel] [PATCH 2/5] lavc: replace and deprecate the lock manager

2017-12-22 Thread James Almer
On 12/22/2017 10:25 PM, Michael Niedermayer wrote: > On Thu, Dec 21, 2017 at 11:22:21PM +0100, wm4 wrote: >> Use static mutexes instead of requiring a lock manager. The behavior >> should be roughly the same before and after this change for API users >> which did not set the lock manager at all (ex

Re: [FFmpeg-devel] [PATCH 2/5] lavc: replace and deprecate the lock manager

2017-12-22 Thread Michael Niedermayer
On Thu, Dec 21, 2017 at 11:22:21PM +0100, wm4 wrote: > Use static mutexes instead of requiring a lock manager. The behavior > should be roughly the same before and after this change for API users > which did not set the lock manager at all (except that a minor memory > leak disappears). > --- > do

[FFmpeg-devel] [PATCH 2/5] lavc: replace and deprecate the lock manager

2017-12-21 Thread wm4
Use static mutexes instead of requiring a lock manager. The behavior should be roughly the same before and after this change for API users which did not set the lock manager at all (except that a minor memory leak disappears). --- doc/APIchanges | 5 +++ libavcodec/avcodec.h | 8 +++- li