gst/rtp/gstrtph264pay.*: Correct a typo (sinle -> single).
authorPeter Kjellerstedt <pkj@axis.com>
Tue, 20 May 2008 13:57:44 +0000 (13:57 +0000)
committerPeter Kjellerstedt <pkj@axis.com>
Tue, 20 May 2008 13:57:44 +0000 (13:57 +0000)
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
gst/rtp/gstrtph264pay.c
gst/rtp/gstrtph264pay.h

index ff8d36c..e466ad3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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),
index 4c014b9..7ca47b6 100644 (file)
@@ -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;
index f48fb98..10f8615 100644 (file)
@@ -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;