encoding-profile: Mark format caps as transfer-none in profile creation
authorArun Raghavan <arun@arunraghavan.net>
Fri, 17 Mar 2017 10:29:14 +0000 (15:59 +0530)
committerArun Raghavan <arun@arunraghavan.net>
Fri, 17 Mar 2017 10:31:57 +0000 (16:01 +0530)
gst-libs/gst/pbutils/encoding-profile.c

index 0946b84..02db401 100644 (file)
@@ -642,7 +642,7 @@ gst_encoding_profile_set_description (GstEncodingProfile * profile,
 /**
  * gst_encoding_profile_set_format:
  * @profile: a #GstEncodingProfile
- * @format: the media format to use in the profile.
+ * @format: (transfer-none): the media format to use in the profile.
  *
  * Sets the media format used in the profile.
  */
@@ -1135,7 +1135,7 @@ common_creation (GType objtype, GstCaps * format, const gchar * preset,
  * @name: (allow-none): The name of the container profile, can be %NULL
  * @description: (allow-none): The description of the container profile,
  *     can be %NULL
- * @format: The format to use for this profile
+ * @format: (transfer-none): The format to use for this profile
  * @preset: (allow-none): The preset to use for this profile.
  *
  * Creates a new #GstEncodingContainerProfile.
@@ -1155,7 +1155,7 @@ gst_encoding_container_profile_new (const gchar * name,
 
 /**
  * gst_encoding_video_profile_new:
- * @format: the #GstCaps
+ * @format: (transfer-none): the #GstCaps
  * @preset: (allow-none): the preset(s) to use on the encoder, can be #NULL
  * @restriction: (allow-none): the #GstCaps used to restrict the input to the encoder, can be
  * NULL. See gst_encoding_profile_get_restriction() for more details.
@@ -1186,7 +1186,7 @@ gst_encoding_video_profile_new (GstCaps * format, const gchar * preset,
 
 /**
  * gst_encoding_audio_profile_new:
- * @format: the #GstCaps
+ * @format: (transfer-none): the #GstCaps
  * @preset: (allow-none): the preset(s) to use on the encoder, can be #NULL
  * @restriction: (allow-none): the #GstCaps used to restrict the input to the encoder, can be
  * NULL. See gst_encoding_profile_get_restriction() for more details.