diff options
author | Johan Dahlin <johan@gnome.org> | 2004-03-15 16:32:54 +0000 |
---|---|---|
committer | Johan Dahlin <johan@gnome.org> | 2004-03-15 16:32:54 +0000 |
commit | 5acffea623eaa95469a8fb77260c85240c6c0a41 (patch) | |
tree | 5d1eb5b3c6cbe7ff7888cfe0b2f972f7e509e99d /gst/matroska/matroska-mux.h | |
parent | f878cc16402dcc70f31861bb120f435f3157c518 (diff) |
*.h: Revert indenting
Original commit message from CVS:
* *.h: Revert indenting
Diffstat (limited to 'gst/matroska/matroska-mux.h')
-rw-r--r-- | gst/matroska/matroska-mux.h | 51 |
1 files changed, 28 insertions, 23 deletions
diff --git a/gst/matroska/matroska-mux.h b/gst/matroska/matroska-mux.h index ab018688..119237c9 100644 --- a/gst/matroska/matroska-mux.h +++ b/gst/matroska/matroska-mux.h @@ -28,6 +28,7 @@ #include "matroska-ids.h" G_BEGIN_DECLS + #define GST_TYPE_MATROSKA_MUX \ (gst_matroska_mux_get_type ()) #define GST_MATROSKA_MUX(obj) \ @@ -38,61 +39,65 @@ G_BEGIN_DECLS (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GST_TYPE_MATROSKA_MUX)) #define GST_IS_MATROSKA_MUX_CLASS(obj) \ (G_TYPE_CHECK_CLASS_TYPE ((klass), GST_TYPE_MATROSKA_MUX)) + #define GST_MATROSKA_MUX_MAX_STREAMS 64 - typedef enum -{ + +typedef enum { GST_MATROSKA_MUX_STATE_START, GST_MATROSKA_MUX_STATE_HEADER, GST_MATROSKA_MUX_STATE_DATA, } GstMatroskaMuxState; -typedef struct _GstMatroskaMux -{ - GstEbmlWrite parent; +typedef struct _GstMatroskaMux { + GstEbmlWrite parent; /* pads */ - GstPad *srcpad; - struct - { + GstPad *srcpad; + struct { GstMatroskaTrackContext *track; - GstBuffer *buffer; - gboolean eos; + GstBuffer *buffer; + gboolean eos; } sink[GST_MATROSKA_MUX_MAX_STREAMS]; - guint num_streams, num_v_streams, num_a_streams, num_t_streams; + guint num_streams, + num_v_streams, num_a_streams, num_t_streams; /* metadata - includes writing_app and creation_time */ - GstCaps *metadata; + GstCaps *metadata; /* state */ GstMatroskaMuxState state; /* a cue (index) table */ GstMatroskaIndex *index; - guint num_indexes; + guint num_indexes; /* timescale in the file */ - guint64 time_scale; + guint64 time_scale; /* length, position (time, ns) */ - guint64 duration; + guint64 duration; /* byte-positions of master-elements (for replacing contents) */ - guint64 segment_pos, seekhead_pos, cues_pos, + guint64 segment_pos, + seekhead_pos, + cues_pos, #if 0 - tags_pos, + tags_pos, #endif - info_pos, tracks_pos, duration_pos; - guint64 segment_master; + info_pos, + tracks_pos, + duration_pos; + guint64 segment_master; } GstMatroskaMux; -typedef struct _GstMatroskaMuxClass -{ +typedef struct _GstMatroskaMuxClass { GstEbmlWriteClass parent; } GstMatroskaMuxClass; -GType gst_matroska_mux_get_type (void); +GType gst_matroska_mux_get_type (void); -gboolean gst_matroska_mux_plugin_init (GstPlugin * plugin); +gboolean gst_matroska_mux_plugin_init (GstPlugin *plugin); G_END_DECLS + #endif /* __GST_MATROSKA_MUX_H__ */ |