check: Fix mpegvideoparser PAR expectation
authorJan Schmidt <thaytan@noraisin.net>
Thu, 13 Sep 2012 20:34:16 +0000 (13:34 -0700)
committerJan Schmidt <thaytan@noraisin.net>
Thu, 13 Sep 2012 20:34:56 +0000 (13:34 -0700)
The parser (correctly) now interprets the test header using
MPEG-1 semantics, so fix the test expectation.

tests/check/libs/mpegvideoparser.c

index f598dd7e38e1ee7ed0998f1e5c6a13f475c0ecec..f80d1f843644308c9a1b51675cc33be86c8031a4 100644 (file)
@@ -102,8 +102,8 @@ GST_START_TEST (test_mpeg_parse_sequence_header)
   assert_equals_int (seqhdr.width, 1920);
   assert_equals_int (seqhdr.height, 1080);
   assert_equals_int (seqhdr.aspect_ratio_info, 3);
-  assert_equals_int (seqhdr.par_w, 17280);
-  assert_equals_int (seqhdr.par_h, 17280);
+  assert_equals_int (seqhdr.par_w, 64);
+  assert_equals_int (seqhdr.par_h, 45);
   assert_equals_int (seqhdr.frame_rate_code, 7);
   assert_equals_int (seqhdr.fps_n, 60000);
   assert_equals_int (seqhdr.fps_d, 1001);