2000-12-28 22:12:02 +00:00
|
|
|
/* GStreamer
|
|
|
|
* Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
|
|
|
|
* 2000 Wim Taymans <wtay@chello.be>
|
|
|
|
*
|
|
|
|
* gstpropsprivate.h: Private header for properties subsystem
|
2000-12-03 17:51:29 +00:00
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Library General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Library General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Library General Public
|
|
|
|
* License along with this library; if not, write to the
|
|
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
2000-12-07 18:37:56 +00:00
|
|
|
#ifndef __GST_PROPS_PRIV_H__
|
|
|
|
#define __GST_PROPS_PRIV_H__
|
2000-12-03 17:51:29 +00:00
|
|
|
|
2000-12-07 18:37:56 +00:00
|
|
|
#include <gst/gstprops.h>
|
2000-12-03 17:51:29 +00:00
|
|
|
|
2000-12-07 18:37:56 +00:00
|
|
|
typedef struct _GstPropsEntry GstPropsEntry;
|
2000-12-03 17:51:29 +00:00
|
|
|
|
2000-12-07 18:37:56 +00:00
|
|
|
struct _GstPropsEntry {
|
2000-12-03 17:51:29 +00:00
|
|
|
GQuark propid;
|
2000-12-07 18:37:56 +00:00
|
|
|
GstPropsId propstype;
|
2000-12-03 17:51:29 +00:00
|
|
|
|
|
|
|
union {
|
|
|
|
/* flat values */
|
|
|
|
gboolean bool_data;
|
|
|
|
guint32 fourcc_data;
|
|
|
|
gint int_data;
|
2001-04-02 19:56:34 +00:00
|
|
|
gfloat float_data;
|
2000-12-03 17:51:29 +00:00
|
|
|
|
|
|
|
/* structured values */
|
|
|
|
struct {
|
|
|
|
GList *entries;
|
|
|
|
} list_data;
|
2001-03-24 17:22:03 +00:00
|
|
|
struct {
|
|
|
|
gchar *string;
|
|
|
|
} string_data;
|
2000-12-03 17:51:29 +00:00
|
|
|
struct {
|
|
|
|
gint min;
|
|
|
|
gint max;
|
|
|
|
} int_range_data;
|
2001-04-02 19:56:34 +00:00
|
|
|
struct {
|
|
|
|
gfloat min;
|
|
|
|
gfloat max;
|
|
|
|
} float_range_data;
|
2000-12-03 17:51:29 +00:00
|
|
|
} data;
|
|
|
|
};
|
|
|
|
|
2000-12-07 18:37:56 +00:00
|
|
|
#endif /* __GST_PROPS_PRIV_H__ */
|