tests: simple-launch-lines: fixate audioconvert caps now that the layout is also...
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Wed, 11 Jul 2018 15:29:52 +0000 (18:29 +0300)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Wed, 11 Jul 2018 15:29:52 +0000 (18:29 +0300)
Because audioconvert can now convert between interleaved and non-interleaved,
this pipeline fails on the upstream capsfilter not being able to fixate its
output caps. This is unavoidable.

tests/check/pipelines/simple-launch-lines.c

index d3e9bb7..cb079fc 100644 (file)
@@ -113,9 +113,9 @@ GST_START_TEST (test_element_negotiation)
    * will apply those caps to the buffers.
    * see http://bugzilla.gnome.org/show_bug.cgi?id=315126 */
   s = "fakesrc num-buffers=2 ! "
-      "audio/x-raw,format=" GST_AUDIO_NE (S16) ",rate=22050,channels=1 "
+      "audio/x-raw,format=" GST_AUDIO_NE (S16) ",rate=22050,channels=1,layout=interleaved "
       "! audioconvert "
-      "! audio/x-raw,format=" GST_AUDIO_NE (S16) ",rate=22050,channels=1 "
+      "! audio/x-raw,format=" GST_AUDIO_NE (S16) ",rate=22050,channels=1,layout=interleaved "
       "! fakesink";
   run_pipeline (setup_pipeline (s), s,
       GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),