[vlc-commits] [Git][videolan/vlc][master] 2 commits: fetcher: don't set "item-change"

Steve Lhomme (@robUx4) gitlab at videolan.org
Tue Jan 30 17:01:47 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
9b3aa9d1 by Thomas Guillem at 2024-01-30T16:46:07+00:00
fetcher: don't set "item-change"

There are no listeners since the preparser rework.

- - - - -
12df8b8e by Thomas Guillem at 2024-01-30T16:46:07+00:00
qt: remove doc about the 'item-change' removed event

- - - - -


2 changed files:

- modules/gui/qt/dialogs/mediainfo/info_panels.cpp
- src/preparser/fetcher.c


Changes:

=====================================
modules/gui/qt/dialogs/mediainfo/info_panels.cpp
=====================================
@@ -183,7 +183,7 @@ MetaPanel::MetaPanel( QWidget *parent,
 }
 
 /**
- * Update all the MetaData and art on an "item-changed" event
+ * Update all the MetaData and art
  **/
 void MetaPanel::update( const SharedInputItem& p_item )
 {


=====================================
src/preparser/fetcher.c
=====================================
@@ -364,10 +364,7 @@ out:
     vlc_interrupt_set(NULL);
 
     if( fetched )
-    {
-        var_SetAddress( fetcher->owner, "item-change", task->item );
         input_item_SetArtFetched( task->item, true );
-    }
     free( psz_arturl );
     NotifyArtFetchEnded(task, fetched);
     FetcherRemoveTask(fetcher, task);



View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/3d230a44e93804a71bff8d60f5b67ee095cc96b5...12df8b8ec4ea29654c4e1b69c81a31b4356704fa

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/3d230a44e93804a71bff8d60f5b67ee095cc96b5...12df8b8ec4ea29654c4e1b69c81a31b4356704fa
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list