diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | gst/rtp/gstrtph264pay.c | 6 | ||||
-rw-r--r-- | gst/rtp/gstrtph264pay.h | 2 |
3 files changed, 10 insertions, 5 deletions
@@ -1,3 +1,10 @@ +2008-05-20 Peter Kjellerstedt <pkj@axis.com> + + * gst/rtp/gstrtph264pay.c: (gst_h264_scan_mode_get_type), + (gst_rtp_h264_pay_handle_buffer): + * gst/rtp/gstrtph264pay.h: + Correct a typo (sinle -> single). + 2008-05-20 Wim Taymans <wim.taymans@collabora.co.uk> * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_class_init), diff --git a/gst/rtp/gstrtph264pay.c b/gst/rtp/gstrtph264pay.c index 4c014b9a..7ca47b6e 100644 --- a/gst/rtp/gstrtph264pay.c +++ b/gst/rtp/gstrtph264pay.c @@ -75,7 +75,7 @@ gst_h264_scan_mode_get_type (void) "bytestream"}, {GST_H264_SCAN_MODE_MULTI_NAL, "Buffers contain multiple complete NALUs", "multiple"}, - {GST_H264_SCAN_MODE_SINLE_NAL, "Buffers contain a single complete NALU", + {GST_H264_SCAN_MODE_SINGLE_NAL, "Buffers contain a single complete NALU", "single"}, {0, NULL, NULL}, }; @@ -89,7 +89,6 @@ gst_h264_scan_mode_get_type (void) #define DEFAULT_PROFILE_LEVEL_ID NULL #define DEFAULT_SPROP_PARAMETER_SETS NULL -#define DEFAULT_SPROP_PARAMETER_SETS NULL #define DEFAULT_SCAN_MODE GST_H264_SCAN_MODE_MULTI_NAL enum @@ -101,7 +100,6 @@ enum PROP_LAST }; - #define IS_ACCESS_UNIT(x) (((x) > 0x00) && ((x) < 0x06)) static void gst_rtp_h264_pay_finalize (GObject * object); @@ -772,7 +770,7 @@ gst_rtp_h264_pay_handle_buffer (GstBaseRTPPayload * basepayload, data += 4; size -= 4; - if (rtph264pay->scan_mode == GST_H264_SCAN_MODE_SINLE_NAL) { + if (rtph264pay->scan_mode == GST_H264_SCAN_MODE_SINGLE_NAL) { /* we are told that there is only a single NAL in this packet so that we * can avoid scanning for the next NAL. */ next = size; diff --git a/gst/rtp/gstrtph264pay.h b/gst/rtp/gstrtph264pay.h index f48fb98b..10f8615f 100644 --- a/gst/rtp/gstrtph264pay.h +++ b/gst/rtp/gstrtph264pay.h @@ -40,7 +40,7 @@ typedef enum { GST_H264_SCAN_MODE_BYTESTREAM, GST_H264_SCAN_MODE_MULTI_NAL, - GST_H264_SCAN_MODE_SINLE_NAL + GST_H264_SCAN_MODE_SINGLE_NAL } GstH264ScanMode; typedef struct _GstRtpH264Pay GstRtpH264Pay; |