From 7227feb5cd85ddb81b950f497fd02d5000a26ae9 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Wed, 17 Jul 2019 02:44:12 +0900 Subject: [PATCH] video-color: Enhance documentation of gst_video_colorimetry_to_string() It could return null string. So need to clarify when it will be null. --- gst-libs/gst/video/video-color.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gst-libs/gst/video/video-color.c b/gst-libs/gst/video/video-color.c index c88350754a..9952266041 100644 --- a/gst-libs/gst/video/video-color.c +++ b/gst-libs/gst/video/video-color.c @@ -148,7 +148,8 @@ gst_video_colorimetry_from_string (GstVideoColorimetry * cinfo, * * Make a string representation of @cinfo. * - * Returns: a string representation of @cinfo. + * Returns: (transfer full) (nullable): a string representation of @cinfo + * or %NULL if all the entries of @cinfo are unknown values. */ gchar * gst_video_colorimetry_to_string (const GstVideoColorimetry * cinfo)