[vlc-devel] commit: directory: Make sure the intf gets a last signal when directory is done adding items. (Derk-Jan Hartman )
git version control
git at videolan.org
Tue Sep 30 19:19:43 CEST 2008
vlc | branch: 0.9-bugfix | Derk-Jan Hartman <hartman at videolan.org> | Tue Sep 30 19:08:47 2008 +0200| [9dfaf1686861fce4ab140876d553c6f6207e51f8] | committer: Derk-Jan Hartman
directory: Make sure the intf gets a last signal when directory is done adding items.
This should NOT be forward-ported.
It (hopefully) works around an issue where sometimes the datasource of the OS X interface isn't updated until you click the directory.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9dfaf1686861fce4ab140876d553c6f6207e51f8
---
modules/access/directory.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/access/directory.c b/modules/access/directory.c
index b5a38af..1aca4c2 100644
--- a/modules/access/directory.c
+++ b/modules/access/directory.c
@@ -266,6 +266,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
p_item_in_category,
p_current_input, (DIR *)p_access->p_sys, NULL );
+ var_SetBool( p_playlist, "intf-change", true );
playlist_Signal( p_playlist );
free( psz_name );
More information about the vlc-devel
mailing list