summaryrefslogtreecommitdiffstats
path: root/gst/videocrop
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2006-09-08 16:47:46 +0000
committerTim-Philipp Müller <tim@centricular.net>2006-09-08 16:47:46 +0000
commitb6f9f141f00b601d352a5273be2f20cb8c6b422a (patch)
tree46961a830ca18b855928da8e93273fa4a59ff7e3 /gst/videocrop
parent4b0fe4828758bf406f2ed89fff4832a93b19e397 (diff)
configure.ac: Bump requirements of -base (videocrop test case needs this).
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).
Diffstat (limited to 'gst/videocrop')
-rw-r--r--gst/videocrop/gstvideocrop.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c
index c5b0ac90..3208e2a2 100644
--- a/gst/videocrop/gstvideocrop.c
+++ b/gst/videocrop/gstvideocrop.c
@@ -37,6 +37,13 @@
* <para>
* If there is nothing to crop, the element will operate in pass-through mode.
* </para>
+ * <para>
+ * Note that no special efforts are made to handle chroma-subsampled formats
+ * in the case of odd-valued cropping and compensate for sub-unit chroma plane
+ * shifts for such formats in the case where the "left" or "top" property is
+ * set to an odd number. This doesn't matter for most use cases, but it might
+ * matter for yours.
+ * </para>
* <title>Example launch line</title>
* <para>
* <programlisting>