forked from centricular/gstcefsrc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
gstcefdemux.h
47 lines (37 loc) · 1.14 KB
/
gstcefdemux.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#ifndef __GST_CEF_DEMUX_H__
#define __GST_CEF_DEMUX_H__
#include <gst/gst.h>
#include <gst/base/gstflowcombiner.h>
G_BEGIN_DECLS
#define GST_TYPE_CEF_DEMUX \
(gst_cef_demux_get_type())
#define GST_CEF_DEMUX(obj) \
(G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_CEF_DEMUX,GstCefDemux))
#define GST_CEF_DEMUX_CLASS(klass) \
(G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_CEF_DEMUX,GstCefDemuxClass))
#define GST_IS_CEF_DEMUX(obj) \
(G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_CEF_DEMUX))
#define GST_IS_CEF_DEMUX_CLASS(klass) \
(G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_CEF_DEMUX))
typedef struct _GstCefDemux GstCefDemux;
typedef struct _GstCefDemuxClass GstCefDemuxClass;
struct _GstCefDemux {
GstElement parent;
gboolean pushed_events;
gboolean need_stream_start;
gboolean need_caps;
gboolean need_segment;
GstPad *vsrcpad;
GstPad *asrcpad;
GHashTable *asrcpads;
GList *cef_audio_stream_start_events;
GstEvent *vcaps_event;
GstFlowCombiner *flow_combiner;
GstClockTime last_audio_time;
};
struct _GstCefDemuxClass {
GstElementClass parent_class;
};
GType gst_cef_demux_get_type (void);
G_END_DECLS
#endif /* __GST_CEF_DEMUX_H__ */