[vlc-commits] playlist: remove unused expanded flag

Rémi Denis-Courmont git at videolan.org
Thu Nov 17 19:04:16 CET 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Nov 17 20:01:29 2016 +0200| [72f21416f2f1dac135cb933fb069353bce65153a] | committer: Rémi Denis-Courmont

playlist: remove unused expanded flag

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=72f21416f2f1dac135cb933fb069353bce65153a
---

 include/vlc_playlist.h      | 1 -
 modules/lua/libs/playlist.c | 1 -
 share/lua/README.txt        | 1 -
 3 files changed, 3 deletions(-)

diff --git a/include/vlc_playlist.h b/include/vlc_playlist.h
index 521c0ad..4e50ee9 100644
--- a/include/vlc_playlist.h
+++ b/include/vlc_playlist.h
@@ -147,7 +147,6 @@ typedef enum {
     PLAYLIST_SKIP_FLAG         = 0x0002,  /**< Must playlist skip after it ? */
     PLAYLIST_DBL_FLAG          = 0x0004,  /**< Is it disabled ? */
     PLAYLIST_RO_FLAG           = 0x0008,  /**< Write-enabled ? */
-    PLAYLIST_EXPANDED_FLAG     = 0x0020,  /**< Expanded node */
     PLAYLIST_SUBITEM_STOP_FLAG = 0x0040,  /**< Must playlist stop if the item gets subitems ?*/
     PLAYLIST_NO_INHERIT_FLAG   = 0x0080,  /**< Childs must not inherit flags from parent node */
 } playlist_item_flags_e;
diff --git a/modules/lua/libs/playlist.c b/modules/lua/libs/playlist.c
index 771a14a..78b61c9 100644
--- a/modules/lua/libs/playlist.c
+++ b/modules/lua/libs/playlist.c
@@ -212,7 +212,6 @@ static void push_playlist_item( lua_State *L, playlist_item_t *p_item )
     CHECK_AND_SET_FLAG( SKIP, skip )
     CHECK_AND_SET_FLAG( DBL, disabled )
     CHECK_AND_SET_FLAG( RO, ro )
-    CHECK_AND_SET_FLAG( EXPANDED, expanded )
 #undef CHECK_AND_SET_FLAG
     lua_setfield( L, -2, "flags" );
     if( p_input )
diff --git a/share/lua/README.txt b/share/lua/README.txt
index d19053a..d726fcf 100644
--- a/share/lua/README.txt
+++ b/share/lua/README.txt
@@ -288,7 +288,6 @@ playlist.get( [what, [tree]] ): Get the playlist.
           .skip
           .disabled
           .ro
-          .expanded
       .name:
       .path:
       .duration: (-1 if unknown)



More information about the vlc-commits mailing list