Re: [FFmpeg-devel] [PATCH 1/3] hwcontext: Do not call device_init again when deriving an existing device

2018-05-15 Thread Mark Thompson
On 15/05/18 01:42, myp...@gmail.com wrote: > 2018-05-15 5:58 GMT+08:00 Mark Thompson : >> The change in 309d660775e2b47af6723a0477c4d753bc0c54f4 to call device_init >> when doing derivation missed this case - we should only call it if we >> actually made a new device. >> --- >> libavutil/hwcontext

Re: [FFmpeg-devel] [PATCH 1/3] hwcontext: Do not call device_init again when deriving an existing device

2018-05-14 Thread myp...@gmail.com
2018-05-15 5:58 GMT+08:00 Mark Thompson : > The change in 309d660775e2b47af6723a0477c4d753bc0c54f4 to call device_init > when doing derivation missed this case - we should only call it if we > actually made a new device. > --- > libavutil/hwcontext.c | 7 +++ > 1 file changed, 3 insertions(+),

[FFmpeg-devel] [PATCH 1/3] hwcontext: Do not call device_init again when deriving an existing device

2018-05-14 Thread Mark Thompson
The change in 309d660775e2b47af6723a0477c4d753bc0c54f4 to call device_init when doing derivation missed this case - we should only call it if we actually made a new device. --- libavutil/hwcontext.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libavutil/hwcontext.c b/