[vlc-commits] playlist: remove unused save flag
Rémi Denis-Courmont
git at videolan.org
Tue Nov 15 23:09:57 CET 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Nov 15 23:22:39 2016 +0200| [5001f5b25e7e235caae319de04ffe4f6146d0c8f] | committer: Rémi Denis-Courmont
playlist: remove unused save flag
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5001f5b25e7e235caae319de04ffe4f6146d0c8f
---
include/vlc_playlist.h | 1 -
modules/lua/libs/playlist.c | 1 -
modules/misc/playlist/html.c | 3 ---
modules/misc/playlist/m3u.c | 3 ---
share/lua/README.txt | 1 -
5 files changed, 9 deletions(-)
diff --git a/include/vlc_playlist.h b/include/vlc_playlist.h
index 81d6958..9c365a7 100644
--- a/include/vlc_playlist.h
+++ b/include/vlc_playlist.h
@@ -145,7 +145,6 @@ struct playlist_item_t
};
typedef enum {
- PLAYLIST_SAVE_FLAG = 0x0001, /**< Must it be saved */
PLAYLIST_SKIP_FLAG = 0x0002, /**< Must playlist skip after it ? */
PLAYLIST_DBL_FLAG = 0x0004, /**< Is it disabled ? */
PLAYLIST_RO_FLAG = 0x0008, /**< Write-enabled ? */
diff --git a/modules/lua/libs/playlist.c b/modules/lua/libs/playlist.c
index 0657385..c44571f 100644
--- a/modules/lua/libs/playlist.c
+++ b/modules/lua/libs/playlist.c
@@ -211,7 +211,6 @@ static void push_playlist_item( lua_State *L, playlist_item_t *p_item )
lua_pushboolean( L, 1 ); \
lua_setfield( L, -2, #label ); \
}
- CHECK_AND_SET_FLAG( SAVE, save )
CHECK_AND_SET_FLAG( SKIP, skip )
CHECK_AND_SET_FLAG( DBL, disabled )
CHECK_AND_SET_FLAG( RO, ro )
diff --git a/modules/misc/playlist/html.c b/modules/misc/playlist/html.c
index 8d41983..1aa6dce 100644
--- a/modules/misc/playlist/html.c
+++ b/modules/misc/playlist/html.c
@@ -50,9 +50,6 @@ static void DoChildren( playlist_export_t *p_export, playlist_item_t *p_root )
playlist_item_t *p_current = p_root->pp_children[i];
assert( p_current );
- if( p_current->i_flags & PLAYLIST_SAVE_FLAG )
- continue;
-
if( p_current->i_children >= 0 )
{
DoChildren( p_export, p_current );
diff --git a/modules/misc/playlist/m3u.c b/modules/misc/playlist/m3u.c
index 874d21c..f1fb103 100644
--- a/modules/misc/playlist/m3u.c
+++ b/modules/misc/playlist/m3u.c
@@ -59,9 +59,6 @@ static void DoChildren( playlist_export_t *p_export, playlist_item_t *p_root,
playlist_item_t *p_current = p_root->pp_children[i];
assert( p_current );
- if( p_current->i_flags & PLAYLIST_SAVE_FLAG )
- continue;
-
if( p_current->i_children >= 0 )
{
DoChildren( p_export, p_current, pf_fprintf );
diff --git a/share/lua/README.txt b/share/lua/README.txt
index 4ef2de7..50e7d81 100644
--- a/share/lua/README.txt
+++ b/share/lua/README.txt
@@ -286,7 +286,6 @@ playlist.get( [what, [tree]] ): Get the playlist.
.id: The item's id.
.flags: a table with the following members if the corresponding flag is
set:
- .save
.skip
.disabled
.ro
More information about the vlc-commits
mailing list