[MPlayer-cvslog] r37495 - in trunk/gui/util: list.c list.h

ib subversion at mplayerhq.hu
Tue Sep 8 11:35:40 CEST 2015


Author: ib
Date: Tue Sep  8 11:35:39 2015
New Revision: 37495

Log:
Extend the playlist item.

Add a title, a start time and a stop time.

Modified:
   trunk/gui/util/list.c
   trunk/gui/util/list.h

Modified: trunk/gui/util/list.c
==============================================================================
--- trunk/gui/util/list.c	Tue Sep  8 02:34:43 2015	(r37494)
+++ trunk/gui/util/list.c	Tue Sep  8 11:35:39 2015	(r37495)
@@ -197,6 +197,7 @@ void *listMgr(int cmd, void *data)
 
             free(curr->path);
             free(curr->name);
+            free(curr->title);
             free(curr);
         }
 
@@ -209,6 +210,7 @@ void *listMgr(int cmd, void *data)
 
             free(plList->path);
             free(plList->name);
+            free(plList->title);
             free(plList);
 
             plList = item;

Modified: trunk/gui/util/list.h
==============================================================================
--- trunk/gui/util/list.h	Tue Sep  8 02:34:43 2015	(r37494)
+++ trunk/gui/util/list.h	Tue Sep  8 11:35:39 2015	(r37495)
@@ -41,6 +41,9 @@ enum {
 typedef struct plItem {
     char *path;
     char *name;
+    char *title;
+    int start;
+    int stop;
     struct plItem *prev, *next;
 } plItem;
 


More information about the MPlayer-cvslog mailing list