diff options
author | Christian Schaller <uraeus@gnome.org> | 2006-11-06 20:52:10 +0000 |
---|---|---|
committer | Christian Schaller <uraeus@gnome.org> | 2006-11-06 20:52:10 +0000 |
commit | 53ddac062d90664aead98f557ca0b4b8861b22fe (patch) | |
tree | 0f61ac5abc2cf3621e671617854bb8e0cbec3feb /gst/rtp/gstrtpvorbispay.h | |
parent | d162a33c42d074c2e6161b4392addc053fbfb956 (diff) |
gst/rtp/gstrtpvorbispay.*: Generate a valid configuration string in the caps based on the vorbis headers.
Original commit message from CVS:
* gst/rtp/gstrtpvorbispay.c: (gst_rtp_vorbis_pay_setcaps),
(gst_rtp_vorbis_pay_finish_headers), (gst_rtp_vorbis_pay_parse_id),
(gst_rtp_vorbis_pay_handle_buffer):
* gst/rtp/gstrtpvorbispay.h:
Generate a valid configuration string in the caps based on the
vorbis headers.
Diffstat (limited to 'gst/rtp/gstrtpvorbispay.h')
-rw-r--r-- | gst/rtp/gstrtpvorbispay.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gst/rtp/gstrtpvorbispay.h b/gst/rtp/gstrtpvorbispay.h index 8899fb5e..52ba0c16 100644 --- a/gst/rtp/gstrtpvorbispay.h +++ b/gst/rtp/gstrtpvorbispay.h @@ -44,6 +44,10 @@ struct _GstRtpVorbisPay { GstBaseRTPPayload payload; + /* the headers */ + gboolean need_headers; + GList *headers; + /* queues of buffers along with some stats. */ GstBuffer *packet; guint payload_pos; @@ -53,6 +57,9 @@ struct _GstRtpVorbisPay guint8 payload_VDT; guint payload_pkts; GstClockTime payload_duration; + + gint rate; + gint channels; }; struct _GstRtpVorbisPayClass |