media_tree: allow preparse tasks to be canceled
If we need to release the media tree before the preparse ends
the preparse callback will likely crash.
This allows to pass an optional task id to vlc_media_tree_Preparse and to
cancel it afterwards
Signed-off-by:
Jean-Baptiste Kempf <jb@videolan.org>
Showing
- include/vlc_media_source.h 12 additions, 1 deletioninclude/vlc_media_source.h
- modules/gui/macosx/media-source/VLCMediaSource.m 1 addition, 1 deletionmodules/gui/macosx/media-source/VLCMediaSource.m
- modules/gui/qt/network/networkmediamodel.cpp 1 addition, 2 deletionsmodules/gui/qt/network/networkmediamodel.cpp
- src/libvlccore.sym 1 addition, 0 deletionssrc/libvlccore.sym
- src/media_source/media_tree.c 15 additions, 2 deletionssrc/media_source/media_tree.c
Loading
Please register or sign in to comment