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
commitf1163bb16d8ae140ad0e81da779b10dd6a9015e8 (patch)
tree46ba13c08eabe993a9e683abdd86716e84207ce9 /gst/videocrop
parent64396d9026d8317ec80e6208119eaee79a6de9b5 (diff)
downloadgst-plugins-bad-f1163bb16d8ae140ad0e81da779b10dd6a9015e8.tar.gz
gst-plugins-bad-f1163bb16d8ae140ad0e81da779b10dd6a9015e8.tar.bz2
gst-plugins-bad-f1163bb16d8ae140ad0e81da779b10dd6a9015e8.zip
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>