summaryrefslogtreecommitdiffstats
path: root/gst
diff options
context:
space:
mode:
authorPeter Kjellerstedt <pkj@axis.com>2008-05-20 13:57:44 +0000
committerPeter Kjellerstedt <pkj@axis.com>2008-05-20 13:57:44 +0000
commitb2750e2a1a3d75be8ee26c01f5219733b851fcf7 (patch)
tree41b1241b906defae1c19c00f9e43a875849e6d6a /gst
parentbe0e73ee6bd042a349a79b0d4b34fdc6d5366a47 (diff)
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).
Diffstat (limited to 'gst')
-rw-r--r--gst/rtp/gstrtph264pay.c6
-rw-r--r--gst/rtp/gstrtph264pay.h2
2 files changed, 3 insertions, 5 deletions
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;