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).
This commit is contained in:
Peter Kjellerstedt 2008-05-20 13:57:44 +00:00
parent be0e73ee6b
commit b2750e2a1a
3 changed files with 10 additions and 5 deletions

View file

@ -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> 2008-05-20 Wim Taymans <wim.taymans@collabora.co.uk>
* gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_class_init), * gst/rtp/gstrtph264depay.c: (gst_rtp_h264_depay_class_init),

View file

@ -75,7 +75,7 @@ gst_h264_scan_mode_get_type (void)
"bytestream"}, "bytestream"},
{GST_H264_SCAN_MODE_MULTI_NAL, "Buffers contain multiple complete NALUs", {GST_H264_SCAN_MODE_MULTI_NAL, "Buffers contain multiple complete NALUs",
"multiple"}, "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"}, "single"},
{0, NULL, NULL}, {0, NULL, NULL},
}; };
@ -89,7 +89,6 @@ gst_h264_scan_mode_get_type (void)
#define DEFAULT_PROFILE_LEVEL_ID NULL #define DEFAULT_PROFILE_LEVEL_ID NULL
#define DEFAULT_SPROP_PARAMETER_SETS NULL #define DEFAULT_SPROP_PARAMETER_SETS NULL
#define DEFAULT_SPROP_PARAMETER_SETS NULL
#define DEFAULT_SCAN_MODE GST_H264_SCAN_MODE_MULTI_NAL #define DEFAULT_SCAN_MODE GST_H264_SCAN_MODE_MULTI_NAL
enum enum
@ -101,7 +100,6 @@ enum
PROP_LAST PROP_LAST
}; };
#define IS_ACCESS_UNIT(x) (((x) > 0x00) && ((x) < 0x06)) #define IS_ACCESS_UNIT(x) (((x) > 0x00) && ((x) < 0x06))
static void gst_rtp_h264_pay_finalize (GObject * object); static void gst_rtp_h264_pay_finalize (GObject * object);
@ -772,7 +770,7 @@ gst_rtp_h264_pay_handle_buffer (GstBaseRTPPayload * basepayload,
data += 4; data += 4;
size -= 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 /* we are told that there is only a single NAL in this packet so that we
* can avoid scanning for the next NAL. */ * can avoid scanning for the next NAL. */
next = size; next = size;

View file

@ -40,7 +40,7 @@ typedef enum
{ {
GST_H264_SCAN_MODE_BYTESTREAM, GST_H264_SCAN_MODE_BYTESTREAM,
GST_H264_SCAN_MODE_MULTI_NAL, GST_H264_SCAN_MODE_MULTI_NAL,
GST_H264_SCAN_MODE_SINLE_NAL GST_H264_SCAN_MODE_SINGLE_NAL
} GstH264ScanMode; } GstH264ScanMode;
typedef struct _GstRtpH264Pay GstRtpH264Pay; typedef struct _GstRtpH264Pay GstRtpH264Pay;