diff options
author | Wai-Ming Ho <webregbox@yahoo.co.uk> | 2007-12-11 16:31:49 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2007-12-11 16:31:49 +0000 |
commit | 2ad5efaf282b0a3f70000be5205a67613655a1ca (patch) | |
tree | 6fbb32108c29ebb9e543e5ef807e6560865e636e /gst/rtp/gstrtph264pay.h | |
parent | 8d0960ec264312fa2f9cdf1efbc9b0082e9baac7 (diff) |
gst/rtp/gstrtph264pay.*: Use higher performance start-code searching.
Original commit message from CVS:
Patch by: Wai-Ming Ho <webregbox at yahoo dot co dot uk>
* gst/rtp/gstrtph264pay.c: (gst_rtp_h264_pay_init),
(gst_rtp_h264_pay_finalize), (gst_rtp_h264_pay_setcaps),
(next_start_code), (is_nal_equal), (gst_rtp_h264_pay_decode_nal),
(encode_base64), (gst_rtp_h264_pay_parse_sps_pps),
(gst_rtp_h264_pay_handle_buffer):
* gst/rtp/gstrtph264pay.h:
Use higher performance start-code searching.
Parse NALs and store SPS, PPS and profile in the caps so that they can
be used in the SDP. Fixes #502814.
Diffstat (limited to 'gst/rtp/gstrtph264pay.h')
-rw-r--r-- | gst/rtp/gstrtph264pay.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/rtp/gstrtph264pay.h b/gst/rtp/gstrtph264pay.h index 0bf716fb..d1ecb27c 100644 --- a/gst/rtp/gstrtph264pay.h +++ b/gst/rtp/gstrtph264pay.h @@ -42,6 +42,10 @@ typedef struct _GstRtpH264PayClass GstRtpH264PayClass; struct _GstRtpH264Pay { GstBaseRTPPayload payload; + + guint profile; + guint8 *sps, *pps; + guint sps_len, pps_len; }; struct _GstRtpH264PayClass |