No emulation bytes for MPEG-2
authorXiang, Haihao <haihao.xiang@intel.com>
Tue, 27 Nov 2012 08:13:18 +0000 (16:13 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Fri, 14 Dec 2012 07:06:51 +0000 (15:06 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
src/gen75_mfc.c

index 28f18ec..f711d41 100644 (file)
@@ -2004,7 +2004,7 @@ intel_mfc_mpeg2_pipeline_header_programing(VADriverContextP ctx,
                                    5,   /* FIXME: check it */
                                    0,
                                    0,
-                                   !param->has_emulation_bytes,
+                                   0,   /* Needn't insert emulation bytes for MPEG-2 */
                                    slice_batch);
     }
 
@@ -2024,10 +2024,10 @@ intel_mfc_mpeg2_pipeline_header_programing(VADriverContextP ctx,
                                    header_data,
                                    ALIGN(length_in_bits, 32) >> 5,
                                    length_in_bits & 0x1f,
-                                   5, /* FIXME: check it */
+                                   5,   /* FIXME: check it */
                                    0,
                                    0,
-                                   !param->has_emulation_bytes,
+                                   0,   /* Needn't insert emulation bytes for MPEG-2 */
                                    slice_batch);
     }
 }