mirror of
https://github.com/videolan/vlc.git
synced 2024-12-04 23:35:52 +08:00
lib: renderer_discoverer: Allow a renderer_discoverer to be stopped then released
This commit is contained in:
parent
cb9e21e362
commit
9bcd1e0721
@ -174,7 +174,10 @@ void
|
||||
libvlc_renderer_discoverer_stop( libvlc_renderer_discoverer_t *p_lrd )
|
||||
{
|
||||
if( p_lrd->p_rd != NULL )
|
||||
{
|
||||
vlc_rd_release( p_lrd->p_rd );
|
||||
p_lrd->p_rd = NULL;
|
||||
}
|
||||
|
||||
for( int i = 0; i < p_lrd->i_items; ++i )
|
||||
vlc_renderer_item_release( p_lrd->pp_items[i] );
|
||||
|
Loading…
Reference in New Issue
Block a user