mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-16 21:36:35 +00:00
6f96a24d2e
Original commit message from CVS: - The clock_wait now returns the difference between requested time and unlock time. - Misc defines like GST_SECOND in gstclock.h - remove pre/post in gstelement.c until fixed. - added release_locks to gstelement so that the element can unlock itself - added some more predefined events. - added folowing functions to gstpad: - convert function: get the relation between formats on this pad - query function: get stats about the pad (position/total/latency) - internal connect function: find out how this pad connects to other pad internally to the element. - generic pad_dispatcher. - removed the last bits of pullregion - use release_locks on the queue. - added some events to queue - make gstthread use the new release_locks function - make the scheduler use the new clock_wait functions - added events to fakesink - added query functions to filesrc - swap type and offset in the bytestream seek API to match fseek - added some event handling in bytestream.
38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
#ifndef __GST_TYPES_H__
|
|
#define __GST_TYPES_H__
|
|
|
|
typedef struct _GstObject GstObject;
|
|
typedef struct _GstObjectClass GstObjectClass;
|
|
typedef struct _GstPad GstPad;
|
|
typedef struct _GstPadClass GstPadClass;
|
|
typedef struct _GstPadTemplate GstPadTemplate;
|
|
typedef struct _GstPadTemplateClass GstPadTemplateClass;
|
|
typedef struct _GstElement GstElement;
|
|
typedef struct _GstElementClass GstElementClass;
|
|
typedef struct _GstBin GstBin;
|
|
typedef struct _GstBinClass GstBinClass;
|
|
typedef struct _GstScheduler GstScheduler;
|
|
typedef struct _GstSchedulerClass GstSchedulerClass;
|
|
typedef struct _GstEvent GstEvent;
|
|
|
|
typedef enum {
|
|
GST_STATE_VOID_PENDING = 0,
|
|
GST_STATE_NULL = (1 << 0),
|
|
GST_STATE_READY = (1 << 1),
|
|
GST_STATE_PAUSED = (1 << 2),
|
|
GST_STATE_PLAYING = (1 << 3),
|
|
} GstElementState;
|
|
|
|
typedef enum {
|
|
GST_STATE_FAILURE = 0,
|
|
GST_STATE_SUCCESS = 1,
|
|
GST_STATE_ASYNC = 2,
|
|
} GstElementStateReturn;
|
|
|
|
typedef enum {
|
|
GST_RESULT_OK,
|
|
GST_RESULT_NOK,
|
|
GST_RESULT_NOT_IMPL,
|
|
} GstResult;
|
|
|
|
#endif
|