[vlc-commits] playlist: rationalize item flags

Rémi Denis-Courmont git at videolan.org
Sun May 14 18:38:29 CEST 2017


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun May 14 16:33:44 2017 +0300| [6841664656ba9444a434da217a855d4875304510] | committer: Rémi Denis-Courmont

playlist: rationalize item flags

Item flags are 8-bits; that´s two nibbles.

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

 include/vlc_playlist.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/vlc_playlist.h b/include/vlc_playlist.h
index 1e076c7b4d..dc8dc12d87 100644
--- a/include/vlc_playlist.h
+++ b/include/vlc_playlist.h
@@ -136,10 +136,10 @@ struct playlist_item_t
 };
 
 typedef enum {
-    PLAYLIST_DBL_FLAG          = 0x0004,  /**< Is it disabled ? */
-    PLAYLIST_RO_FLAG           = 0x0008,  /**< Write-enabled ? */
-    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_DBL_FLAG          = 0x04,  /**< Is it disabled ? */
+    PLAYLIST_RO_FLAG           = 0x08,  /**< Write-enabled ? */
+    PLAYLIST_SUBITEM_STOP_FLAG = 0x40,  /**< Must playlist stop if the item gets subitems ?*/
+    PLAYLIST_NO_INHERIT_FLAG   = 0x80,  /**< Will children inherit flags the R/O flag ? */
 } playlist_item_flags_e;
 
 /** Playlist status */



More information about the vlc-commits mailing list