video-color: Enhance documentation of gst_video_colorimetry_to_string()
authorSeungha Yang <seungha.yang@navercorp.com>
Tue, 16 Jul 2019 17:44:12 +0000 (02:44 +0900)
committerSeungha Yang <seungha.yang@navercorp.com>
Tue, 16 Jul 2019 17:50:51 +0000 (02:50 +0900)
It could return null string. So need to clarify when it will be null.

gst-libs/gst/video/video-color.c

index c883507..9952266 100644 (file)
@@ -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)