tests: fix h263p payload ! depayload unit test
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 5 Jul 2012 21:57:05 +0000 (22:57 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Fri, 6 Jul 2012 10:57:38 +0000 (11:57 +0100)
Need to add h263version field to input caps since the
payloader sink get_caps function will contain it in the
the caps, and the stricter caps subset check requires
this to be present in the input caps as well then.

tests/check/elements/rtp-payloading.c

index ab3fbab..6e096c6 100644 (file)
@@ -478,8 +478,8 @@ static int rtp_h263p_frame_count = 1;
 GST_START_TEST (rtp_h263p)
 {
   rtp_pipeline_test (rtp_h263p_frame_data, rtp_h263p_frame_data_size,
-      rtp_h263p_frame_count, "video/x-h263,variant=(string)itu", "rtph263ppay",
-      "rtph263pdepay", 0, 0, FALSE);
+      rtp_h263p_frame_count, "video/x-h263,variant=(string)itu,"
+      "h263version=(string)h263", "rtph263ppay", "rtph263pdepay", 0, 0, FALSE);
 }
 
 GST_END_TEST;