I'm sure you'll appreciate my getting out of bed for this..

Original commit message from CVS:
I'm sure you'll appreciate my getting out of bed for this..
This commit is contained in:
Wim Taymans 2002-09-17 23:46:52 +00:00
parent d9e80e999a
commit b38e8d3905
2 changed files with 6 additions and 3 deletions

View file

@ -215,7 +215,8 @@ G_STMT_START { \
case GST_PROPS_STRING_TYPE: \ case GST_PROPS_STRING_TYPE: \
entry->data.string_data.string = g_strdup (va_arg (var_args, gchar*)); \ entry->data.string_data.string = g_strdup (va_arg (var_args, gchar*)); \
break; \ break; \
case GST_PROPS_LIST_TYPE: \ case GST_PROPS_GLIST_TYPE: \
entry->propstype = GST_PROPS_LIST_TYPE; \
entry->data.list_data.entries = g_list_copy (va_arg (var_args, GList*)); \ entry->data.list_data.entries = g_list_copy (va_arg (var_args, GList*)); \
break; \ break; \
default: \ default: \

View file

@ -49,6 +49,7 @@ typedef enum {
GST_PROPS_VAR_TYPE, /* after this marker start the variable properties */ GST_PROPS_VAR_TYPE, /* after this marker start the variable properties */
GST_PROPS_LIST_TYPE, GST_PROPS_LIST_TYPE,
GST_PROPS_GLIST_TYPE,
GST_PROPS_FLOAT_RANGE_TYPE, GST_PROPS_FLOAT_RANGE_TYPE,
GST_PROPS_INT_RANGE_TYPE, GST_PROPS_INT_RANGE_TYPE,
@ -59,6 +60,7 @@ typedef enum {
#define GST_STR_FOURCC(f) (guint32)(((f)[0])|((f)[1]<<8)|((f)[2]<<16)|((f)[3]<<24)) #define GST_STR_FOURCC(f) (guint32)(((f)[0])|((f)[1]<<8)|((f)[2]<<16)|((f)[3]<<24))
#define GST_PROPS_LIST(a...) GST_PROPS_LIST_TYPE,##a,NULL #define GST_PROPS_LIST(a...) GST_PROPS_LIST_TYPE,##a,NULL
#define GST_PROPS_GLIST(a) GST_PROPS_GLIST_TYPE,(a)
#define GST_PROPS_INT(a) GST_PROPS_INT_TYPE,(a) #define GST_PROPS_INT(a) GST_PROPS_INT_TYPE,(a)
#define GST_PROPS_INT_RANGE(a,b) GST_PROPS_INT_RANGE_TYPE,(a),(b) #define GST_PROPS_INT_RANGE(a,b) GST_PROPS_INT_RANGE_TYPE,(a),(b)
#define GST_PROPS_FLOAT(a) GST_PROPS_FLOAT_TYPE,(a) #define GST_PROPS_FLOAT(a) GST_PROPS_FLOAT_TYPE,(a)