Commits on Source (10)
-
32123a74
-
Destroy the thumbnailing request after it completes to free the associated resources. See also the following commit changing the API: ca3b1315
189b4c4e -
Copied from the image.c tests, but unused in the medialibrary test and leading to memory leaks of picture.
1a4a668e -
f22ae10a
-
If we were interrupted, we cannot notify the picture anymore so it needs to be dropped. The behaviour is the same as if using picture_Export here, and might not be kept in the future, but the goal is to have the tests working and checking memory leaks before changing the behaviour, which is also the same as the encoders currently.
004b9900 -
Encoders are currently supposed to consume the given picture.
cccc085e -
Encoders are currently supposed to consume the given picture.
d4c93a29 -
Encoders are currently supposed to consume the given picture.
5a145f34 -
Encoders are currently supposed to consume the given picture.
5dde7db3 -
The picture is expected to be consumed, as-if it was given to an encoder, so we also need to release it in case of error.
1bf09fe8
Showing
- modules/codec/avcodec/encoder.c 1 addition, 0 deletionsmodules/codec/avcodec/encoder.c
- modules/codec/jpeg.c 3 additions, 0 deletionsmodules/codec/jpeg.c
- modules/codec/png.c 4 additions, 0 deletionsmodules/codec/png.c
- modules/codec/vpx.c 3 additions, 0 deletionsmodules/codec/vpx.c
- modules/misc/medialibrary/Thumbnailer.cpp 4 additions, 1 deletionmodules/misc/medialibrary/Thumbnailer.cpp
- src/input/thumbnailer.c 1 addition, 2 deletionssrc/input/thumbnailer.c
- src/misc/image.c 5 additions, 1 deletionsrc/misc/image.c
- src/misc/picture.c 2 additions, 1 deletionsrc/misc/picture.c
- test/modules/misc/medialibrary.c 2 additions, 13 deletionstest/modules/misc/medialibrary.c
- test/src/input/thumbnail.c 1 addition, 0 deletionstest/src/input/thumbnail.c