-From 3ef58fae7a578f72c4607b57434ed54a0ee9ee1d Mon Sep 17 00:00:00 2001
+From b1974b68fac0dad1c76ab74f0b6b3d9ff99b6f27 Mon Sep 17 00:00:00 2001
 From: Sreerenj Balachandran <sreerenj.balachandran@intel.com>
 Date: Tue, 19 Mar 2013 14:23:00 +0200
-Subject: [PATCH 3/3] h264parse: add initial support for MVC NAL units.
+Subject: [PATCH 8/8] h264parse: add initial support for MVC NAL units.
 
 Initial support for MVC NAL units. It is only needed to propagate the
 complete set of NAL units downstream at this time.

 
   GST_LOG_OBJECT (h264parse, "next nal type: %d %s", nal_type,
       _nal_name (nal_type));
   complete |= h264parse->picture_start && (nal_type == GST_H264_NAL_SLICE
       || nal_type == GST_H264_NAL_SLICE_DPA
+      || nal_type == GST_H264_NAL_SLICE_EXT
       || nal_type == GST_H264_NAL_SLICE_IDR) &&
       /* first_mb_in_slice == 0 considered start of frame */
-      (nnalu.data[nnalu.offset + 1] & 0x80);

       {
         GstH264SliceHdr slice;
 
@@ -741,8 +750,9 @@ gst_h264_parse_collect_nal (GstH264Parse * h264parse, const guint8 * data,
    * and also works with broken frame_num in NAL
    * (where spec-wise would fail) */
   nal_type = nnalu.type;
