[vlc-devel] commit: playlist: i_sort and i_order are not used. removed. (Pierre d' Herbemont )
git version control
git at videolan.org
Sun Sep 28 17:14:51 CEST 2008
vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sun Sep 28 16:49:12 2008 +0200| [03e7b7706e178dcf91eb35544bd6bc4d8b735a27] | committer: Pierre d'Herbemont
playlist: i_sort and i_order are not used. removed.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=03e7b7706e178dcf91eb35544bd6bc4d8b735a27
---
include/vlc_playlist.h | 4 ----
src/playlist/engine.c | 4 ----
2 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/include/vlc_playlist.h b/include/vlc_playlist.h
index 12f32ef..cbb6c15 100644
--- a/include/vlc_playlist.h
+++ b/include/vlc_playlist.h
@@ -176,10 +176,6 @@ struct playlist_t
playlist_item_t * p_ml_category; /** < "Library" in CATEGORY view */
playlist_item_t * p_local_onelevel; /** < "Playlist" in ONELEVEL view */
playlist_item_t * p_ml_onelevel; /** < "Library" in ONELEVEL view */
-
- /* Runtime */
- int i_sort; /**< Last sorting applied to the playlist */
- int i_order; /**< Last ordering applied to the playlist */
};
/** Helper to add an item */
diff --git a/src/playlist/engine.c b/src/playlist/engine.c
index 2129229..9205ded 100644
--- a/src/playlist/engine.c
+++ b/src/playlist/engine.c
@@ -151,10 +151,6 @@ playlist_t * playlist_Create( vlc_object_t *p_parent )
pl_priv(p_playlist)->request.b_request = false;
pl_priv(p_playlist)->status.i_status = PLAYLIST_STOPPED;
- p_playlist->i_sort = SORT_ID;
- p_playlist->i_order = ORDER_NORMAL;
-
-
b_save = pl_priv(p_playlist)->b_auto_preparse;
pl_priv(p_playlist)->b_auto_preparse = false;
playlist_MLLoad( p_playlist );
More information about the vlc-devel
mailing list