From f6683b8f145a8f774b642df37e26c979a938d025 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 19 Nov 2014 12:41:21 +0100 Subject: [PATCH] video-info: add a note about subsampled formats Add a note about gst_video_info_set_format() and interlaced formats. --- gst-libs/gst/video/video-info.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/video/video-info.c b/gst-libs/gst/video/video-info.c index ccdf4a4fb2..50e2fe33a5 100644 --- a/gst-libs/gst/video/video-info.c +++ b/gst-libs/gst/video/video-info.c @@ -103,7 +103,9 @@ set_default_colorimetry (GstVideoInfo * info) * * Set the default info for a video frame of @format and @width and @height. * - * Note: This initializes @info first, no values are preserved. + * Note: This initializes @info first, no values are preserved. This function + * does not set the offsets correctly for interlaced vertically + * subsampled formats. */ void gst_video_info_set_format (GstVideoInfo * info, GstVideoFormat format,