diff -Naur gst-plugins-bad-0.10.22.2.org/gst-libs/gst/codecparsers/gsth264parser.c gst-plugins-bad-0.10.22.2/gst-libs/gst/codecparsers/gsth264parser.c
--- gst-plugins-bad-0.10.22.2.org/gst-libs/gst/codecparsers/gsth264parser.c	2012-01-20 11:55:01.000000000 -0800
+++ gst-plugins-bad-0.10.22.2/gst-libs/gst/codecparsers/gsth264parser.c	2012-01-20 12:56:18.000000000 -0800
@@ -1931,13 +1934,9 @@
       sei->payloadType, payload_size);
 
   if (sei->payloadType == GST_H264_SEI_BUF_PERIOD) {
-    /* Set the nal reader size properly */
-    nr.size = payload_size;
     res = gst_h264_parser_parse_buffering_period (nalparser,
         &sei->buffering_period, &nr);
   } else if (sei->payloadType == GST_H264_SEI_PIC_TIMING) {
-    /* Set the nal reader size properly */
-    nr.size = payload_size;
     res = gst_h264_parser_parse_pic_timing (nalparser, &sei->pic_timing, &nr);
   } else
     res = GST_H264_PARSER_OK;
