summaryrefslogtreecommitdiffstats
path: root/tests/check/elements/videocrop.c
Commit message (Collapse)AuthorAgeFilesLines
* skip video/x-raw-gray in videocrop unit testThijs Vermeir2009-01-231-0/+10
| | | | | | A recent commit added video/x-raw-gray support to videocrop. However this lets the videocrop unit test fail. Because videotestsrc can't generate this format.
* tests/check/elements/videocrop.c: Update the unit test for the new color ↵Sebastian Dröge2008-12-091-10/+11
| | | | | | | | | values for BT.601 red. Original commit message from CVS: * tests/check/elements/videocrop.c: (check_1x1_buffer): Update the unit test for the new color values for BT.601 red. Fixes bug #563510.
* tests/check/elements/: Don't use gst_element_get_pad(), it's a bad, bad method.Wim Taymans2008-05-211-2/+2
| | | | | | | | | | | | | | | Original commit message from CVS: * tests/check/elements/avimux.c: (setup_src_pad), (teardown_src_pad): * tests/check/elements/icydemux.c: (icydemux_found_pad), (GST_START_TEST): * tests/check/elements/matroskamux.c: (setup_src_pad), (teardown_src_pad), (setup_sink_pad), (teardown_sink_pad): * tests/check/elements/videocrop.c: (video_crop_get_test_caps), (GST_START_TEST): * tests/check/elements/wavpackparse.c: (wavpackparse_found_pad), (setup_wavpackparse), (cleanup_wavpackparse): Don't use gst_element_get_pad(), it's a bad, bad method.
* tests/check/elements/videocrop.c: Fix the test.Stefan Kost2007-07-181-26/+28
| | | | | | Original commit message from CVS: * tests/check/elements/videocrop.c: (GST_START_TEST): Fix the test.
* tests/check/: Add GST_OPTION_CFLAGS to CFLAGS when building unit tests, so ↵Tim-Philipp Müller2007-06-191-2/+0
| | | | | | | | | | | | | | | the error flags are included and it errors... Original commit message from CVS: * tests/check/Makefile.am: * tests/check/elements/audiopanorama.c: (GST_START_TEST): * tests/check/elements/videocrop.c: (GST_START_TEST): * tests/check/elements/videofilter.c: * tests/check/elements/wavpackdec.c: (GST_START_TEST): * tests/check/elements/wavpackparse.c: (GST_START_TEST): Add GST_OPTION_CFLAGS to CFLAGS when building unit tests, so the error flags are included and it errors out on compiler warnings for CVS builds; remove unused variables in various unit tests.
* tests/check/elements/videocrop.c: When we can't create an element needed for ↵Tim-Philipp Müller2006-12-301-6/+6
| | | | | | | | | | the test, print a message detailing whic... Original commit message from CVS: * tests/check/elements/videocrop.c: (GST_START_TEST), (videocrop_test_cropping_init_context): When we can't create an element needed for the test, print a message detailing which element it actually is that's missing (#390673).
* configure.ac: Bump requirements of -base (videocrop test case needs this).Tim-Philipp Müller2006-09-081-45/+213
| | | | | | | | | | | | | | | | Original commit message from CVS: * configure.ac: Bump requirements of -base (videocrop test case needs this). * gst/videocrop/gstvideocrop.c: Document sloppy handling of subsampled chroma planes if left/top cropping is an odd number. * tests/check/elements/videocrop.c: (handoff_cb), (videocrop_test_cropping_init_context), (videocrop_test_cropping_deinit_context), (videocrop_test_cropping), (check_1x1_buffer), (GST_START_TEST), (videocrop_suite), (main): Add another unit test that crops the input to 1x1 (and checks that that pixel has the expected values in a number of formats).
* tests/check/elements/videocrop.c: More tests: check passthrough mode and ↵Tim-Philipp Müller2006-09-031-0/+319
| | | | | | | | | | | caps transform in both directions with fixed... Original commit message from CVS: * tests/check/elements/videocrop.c: (handoff_cb), (buffer_probe_cb), (test_caps_transform), (test_passthrough), (notgst_value_list_get_nth_int), (videocrop_suite): More tests: check passthrough mode and caps transform in both directions with fixed values, ranges and lists.
* docs/plugins/: Add videocrop to docs.Tim-Philipp Müller2006-09-021-0/+315
Original commit message from CVS: * docs/plugins/Makefile.am: * docs/plugins/gst-plugins-bad-plugins-docs.sgml: * docs/plugins/gst-plugins-bad-plugins-sections.txt: * docs/plugins/gst-plugins-bad-plugins.hierarchy: Add videocrop to docs. * gst/videocrop/Makefile.am: * gst/videocrop/gstvideocrop.c: * gst/videocrop/gstvideocrop.h: Move boilerplate stuff and structures into a header file. * tests/check/Makefile.am: * tests/check/elements/.cvsignore: * tests/check/elements/videocrop.c: (video_crop_get_test_caps), (test_unit_sizes), (videocrop_test_cropping_init_context), (videocrop_test_cropping_deinit_context), (videocrop_test_cropping), (test_cropping), (videocrop_suite): Add unit tests for videocrop.