summaryrefslogtreecommitdiffstats
path: root/gst/rtp/gstrtph263ppay.h
diff options
context:
space:
mode:
authorAntoine Tremblay <hexa00@gmail.com>2007-05-21 08:57:18 +0000
committerWim Taymans <wim.taymans@gmail.com>2007-05-21 08:57:18 +0000
commit0ff05f8195d5b64bdad8c34e52462bd19510aa2c (patch)
treecea4435203643758f621eed83f85b17c8a8ba41f /gst/rtp/gstrtph263ppay.h
parentd6a28f9ea13ec99c660502717c3efca958d0caf7 (diff)
gst/rtp/gstrtph263ppay.*: Add new fragmentation mode base on GOB headers. Fixes #438940.
Original commit message from CVS: Patch by: Antoine Tremblay <hexa00 at gmail dot com> * gst/rtp/gstrtph263ppay.c: (gst_fragmentation_mode_get_type), (gst_rtp_h263p_pay_class_init), (gst_rtp_h263p_pay_init), (gst_rtp_h263p_pay_set_property), (gst_rtp_h263p_pay_get_property), (gst_rtp_h263p_pay_flush): * gst/rtp/gstrtph263ppay.h: Add new fragmentation mode base on GOB headers. Fixes #438940.
Diffstat (limited to 'gst/rtp/gstrtph263ppay.h')
-rw-r--r--gst/rtp/gstrtph263ppay.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/gst/rtp/gstrtph263ppay.h b/gst/rtp/gstrtph263ppay.h
index dbc583d7..e019c8b4 100644
--- a/gst/rtp/gstrtph263ppay.h
+++ b/gst/rtp/gstrtph263ppay.h
@@ -40,12 +40,19 @@ G_BEGIN_DECLS
typedef struct _GstRtpH263PPay GstRtpH263PPay;
typedef struct _GstRtpH263PPayClass GstRtpH263PPayClass;
+typedef enum
+{
+ GST_FRAGMENTATION_MODE_NORMAL = 0,
+ GST_FRAGMENTATION_MODE_SYNC = 1
+} GstFragmentationMode;
+
struct _GstRtpH263PPay
{
- GstBaseRTPPayload payload;
+ GstBaseRTPPayload payload;
- GstAdapter *adapter;
- GstClockTime first_ts;
+ GstAdapter *adapter;
+ GstClockTime first_ts;
+ GstFragmentationMode fragmentation_mode;
};
struct _GstRtpH263PPayClass