mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
lib/media: remove gratuitous parse request cancellation
Media parsing can occur on any instance, and in all likelihood, a freed media is not being parsed by any instance. Note: to cancel parsing, libvlc_media_parse_stop() can be used.
This commit is contained in:
parent
13c9e59e12
commit
f203272408
@ -647,9 +647,6 @@ void libvlc_media_release( libvlc_media_t *p_md )
|
||||
|
||||
uninstall_input_item_observer( p_md );
|
||||
|
||||
/* Cancel asynchronous parsing (if any) */
|
||||
libvlc_MetadataCancel( p_md->p_libvlc_instance->p_libvlc_int, p_md );
|
||||
|
||||
/* Wait for all async tasks to stop. */
|
||||
while ((ref = atomic_load_explicit(&p_md->worker_count,
|
||||
memory_order_acquire)) > 0)
|
||||
|
Loading…
Reference in New Issue
Block a user