video-info: add a note about subsampled formats

Add a note about gst_video_info_set_format() and interlaced formats.
This commit is contained in:
Wim Taymans 2014-11-19 12:41:21 +01:00
parent 24989b53fc
commit f6683b8f14

View file

@ -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,