Commits on Source (7)
-
Thomas Guillem authored
This id can be used to cancel a task.
3d4af3b7 -
Thomas Guillem authored7bf41313
-
Thomas Guillem authored30a97895
-
Thomas Guillem authored
It executes one task at a time and the mutex is only held for fast operations.
b8fe9c99 -
Thomas Guillem authored
Like the preparser is doing. vlc_thumbnailer_request_t is now an incremented id. vlc_thumbnailer_DestroyRequest() will only cancel the request if the id matches. The request is now handled and cleaned internally. The API will change in the next commit.
69413e1d -
Thomas Guillem authored
This id can be used to cancel a task. vlc_thumbnailer_DestroyRequest() had been renamed to vlc_thumbnailer_Cancel(). The new function is optional and can be used to cancel a task. The user doesn't have the responsibility to free the request anymore.
a9fdd37f -
Thomas Guillem authoredda2ff179
Showing
- include/vlc_media_source.h 4 additions, 4 deletionsinclude/vlc_media_source.h
- include/vlc_preparser.h 15 additions, 9 deletionsinclude/vlc_preparser.h
- include/vlc_thumbnailer.h 20 additions, 24 deletionsinclude/vlc_thumbnailer.h
- lib/media.c 15 additions, 12 deletionslib/media.c
- lib/media_internal.h 2 additions, 0 deletionslib/media_internal.h
- modules/gui/macosx/library/media-source/VLCMediaSource.m 1 addition, 1 deletionmodules/gui/macosx/library/media-source/VLCMediaSource.m
- modules/gui/qt/network/networkmediamodel.cpp 11 additions, 4 deletionsmodules/gui/qt/network/networkmediamodel.cpp
- modules/gui/qt/player/player_controller.cpp 1 addition, 1 deletionmodules/gui/qt/player/player_controller.cpp
- modules/misc/medialibrary/Thumbnailer.cpp 10 additions, 6 deletionsmodules/misc/medialibrary/Thumbnailer.cpp
- modules/misc/medialibrary/medialibrary.h 0 additions, 2 deletionsmodules/misc/medialibrary/medialibrary.h
- src/input/thumbnailer.c 67 additions, 51 deletionssrc/input/thumbnailer.c
- src/libvlccore.sym 1 addition, 1 deletionsrc/libvlccore.sym
- src/media_source/media_tree.c 6 additions, 7 deletionssrc/media_source/media_tree.c
- src/playlist/preparse.c 1 addition, 1 deletionsrc/playlist/preparse.c
- src/preparser/preparser.c 44 additions, 19 deletionssrc/preparser/preparser.c
- test/libvlc/media.c 4 additions, 3 deletionstest/libvlc/media.c
- test/src/input/thumbnail.c 6 additions, 7 deletionstest/src/input/thumbnail.c