? tests/check/pipelines/.dirstamp
? tests/check/pipelines/simple-launch-lines
Index: tests/check/pipelines/simple-launch-lines.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-good/tests/check/pipelines/simple-launch-lines.c,v
retrieving revision 1.2
diff -u -p -r1.2 simple-launch-lines.c
--- tests/check/pipelines/simple-launch-lines.c	24 Oct 2007 07:01:47 -0000	1.2
+++ tests/check/pipelines/simple-launch-lines.c	20 Nov 2007 08:24:41 -0000
@@ -219,6 +219,34 @@ GST_START_TEST (test_rtppayloaders)
 }
 
 GST_END_TEST
+
+GST_START_TEST (test_video_encoders_decoders)
+{
+  gchar *s;
+
+  /* no is-live on the source because we actually want to preroll since
+   * run_pipeline only goes into PAUSED */
+#define ENC_DEC_PIPELINE_STRING(bufcount, enc, dec) "videotestsrc num-buffers=" bufcount " ! " enc " ! " dec " ! fakesink"
+#define DEFAULT_BUFCOUNT "5"
+
+  s = ENC_DEC_PIPELINE_STRING (DEFAULT_BUFCOUNT, "jpegenc", "jpegdec");
+  run_pipeline (setup_pipeline (s), s,
+      GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
+      GST_MESSAGE_UNKNOWN);
+
+  s = ENC_DEC_PIPELINE_STRING (DEFAULT_BUFCOUNT, "pngenc", "pngdec");
+  run_pipeline (setup_pipeline (s), s,
+      GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
+      GST_MESSAGE_UNKNOWN);
+
+  s = ENC_DEC_PIPELINE_STRING (DEFAULT_BUFCOUNT, "smokeenc", "smokedec");
+  run_pipeline (setup_pipeline (s), s,
+      GST_MESSAGE_ANY & ~(GST_MESSAGE_ERROR | GST_MESSAGE_WARNING),
+      GST_MESSAGE_UNKNOWN);
+}
+
+GST_END_TEST
+
 #endif /* #ifndef GST_DISABLE_PARSE */
     Suite * simple_launch_lines_suite (void)
 {
@@ -231,6 +259,7 @@ GST_END_TEST
   suite_add_tcase (s, tc_chain);
 #ifndef GST_DISABLE_PARSE
   tcase_add_test (tc_chain, test_rtppayloaders);
+  tcase_add_test (tc_chain, test_video_encoders_decoders);
 #endif
   return s;
 }
