From b2750e2a1a3d75be8ee26c01f5219733b851fcf7 Mon Sep 17 00:00:00 2001 From: Peter Kjellerstedt Date: Tue, 20 May 2008 13:57:44 +0000 Subject: [PATCH] gst/rtp/gstrtph264pay.*: Correct a typo (sinle -> single). Original commit message from CVS: * 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). --- ChangeLog | 7 +++++++ gst/rtp/gstrtph264pay.c | 6 ++---- gst/rtp/gstrtph264pay.h | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index ff8d36c..e466ad3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-05-20 Peter Kjellerstedt + + * 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 * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_class_init), diff --git a/gst/rtp/gstrtph264pay.c b/gst/rtp/gstrtph264pay.c index 4c014b9..7ca47b6 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 f48fb98..10f8615 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; -- 2.7.4