Commit 85995839 authored by René Stadler's avatar René Stadler Committed by Stefan Kost
Browse files

tests/check/pipelines/simple-launch-lines.c: Tests for #498395.

Original commit message from CVS:
Patch by: René Stadler <mail at renestadler dot de>
* tests/check/pipelines/simple-launch-lines.c:
Tests for #498395.
parent 1f0a03d3
2007-11-20 Stefan Kost <ensonic@users.sf.net>
Patch by: René Stadler <mail at renestadler dot de>
* tests/check/pipelines/simple-launch-lines.c:
Tests for #498395.
2007-11-20 Julien MOUTTE <julien@moutte.net>
* ext/taglib/gsttaglibmux.c: (gst_tag_lib_mux_render_tag),
......
......@@ -218,6 +218,32 @@ GST_START_TEST (test_rtppayloaders)
/*s = FAKESRC " ! ! rtpsv3vdepay ! " FAKESINK; */
}
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 +257,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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment