summaryrefslogtreecommitdiffstats
path: root/gst/rtpmux/gstrtpmux.h
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.co.uk>2009-02-20 17:45:50 -0500
committerEdward Hervey <bilboed@bilboed.com>2009-02-21 17:48:57 +0100
commitad4d98d70cb865c47484efbae8070f71d1e767f2 (patch)
tree3e05c27c42df5b1d3d7b0e085733270f1d919cbd /gst/rtpmux/gstrtpmux.h
parentfe071273c47245d01f4ac8b4c0a83abdcebcc820 (diff)
downloadgst-plugins-bad-ad4d98d70cb865c47484efbae8070f71d1e767f2.tar.gz
gst-plugins-bad-ad4d98d70cb865c47484efbae8070f71d1e767f2.tar.bz2
gst-plugins-bad-ad4d98d70cb865c47484efbae8070f71d1e767f2.zip
Re-indent to Gst style
Diffstat (limited to 'gst/rtpmux/gstrtpmux.h')
-rw-r--r--gst/rtpmux/gstrtpmux.h22
1 files changed, 9 insertions, 13 deletions
diff --git a/gst/rtpmux/gstrtpmux.h b/gst/rtpmux/gstrtpmux.h
index bf66e1e7..a3fc133f 100644
--- a/gst/rtpmux/gstrtpmux.h
+++ b/gst/rtpmux/gstrtpmux.h
@@ -29,14 +29,12 @@
#include <gst/gst.h>
G_BEGIN_DECLS
-
#define GST_TYPE_RTP_MUX (gst_rtp_mux_get_type())
#define GST_RTP_MUX(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_MUX, GstRTPMux))
#define GST_RTP_MUX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_MUX, GstRTPMux))
#define GST_RTP_MUX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GST_TYPE_RTP_MUX, GstRTPMuxClass))
#define GST_IS_RTP_MUX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_MUX))
#define GST_IS_RTP_MUX_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_MUX))
-
typedef struct _GstRTPMux GstRTPMux;
typedef struct _GstRTPMuxClass GstRTPMuxClass;
@@ -55,28 +53,26 @@ struct _GstRTPMux
/* sinkpads */
gint numpads;
- guint32 ts_base;
- guint16 seqnum_base;
+ guint32 ts_base;
+ guint16 seqnum_base;
- gint32 ts_offset;
- gint16 seqnum_offset;
- guint16 seqnum; /* protected by object lock */
- guint ssrc;
- guint current_ssrc;
+ gint32 ts_offset;
+ gint16 seqnum_offset;
+ guint16 seqnum; /* protected by object lock */
+ guint ssrc;
+ guint current_ssrc;
};
struct _GstRTPMuxClass
{
GstElementClass parent_class;
- GstFlowReturn (* chain_func) (GstPad * pad, GstBuffer * buffer);
- gboolean (* sink_event_func) (GstPad * pad, GstEvent * event);
+ GstFlowReturn (*chain_func) (GstPad * pad, GstBuffer * buffer);
+ gboolean (*sink_event_func) (GstPad * pad, GstEvent * event);
};
GType gst_rtp_mux_get_type (void);
gboolean gst_rtp_mux_plugin_init (GstPlugin * plugin);
G_END_DECLS
-
#endif /* __GST_RTP_MUX_H__ */
-