encoding-profile: Mark format caps as transfer-none in profile creation

This commit is contained in:
Arun Raghavan 2017-03-17 15:59:14 +05:30
parent 95ddfdee4e
commit 389a3c4461

View file

@ -642,7 +642,7 @@ gst_encoding_profile_set_description (GstEncodingProfile * profile,
/** /**
* gst_encoding_profile_set_format: * gst_encoding_profile_set_format:
* @profile: a #GstEncodingProfile * @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. * 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 * @name: (allow-none): The name of the container profile, can be %NULL
* @description: (allow-none): The description of the container profile, * @description: (allow-none): The description of the container profile,
* can be %NULL * 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. * @preset: (allow-none): The preset to use for this profile.
* *
* Creates a new #GstEncodingContainerProfile. * Creates a new #GstEncodingContainerProfile.
@ -1155,7 +1155,7 @@ gst_encoding_container_profile_new (const gchar * name,
/** /**
* gst_encoding_video_profile_new: * 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 * @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 * @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. * 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: * 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 * @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 * @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. * NULL. See gst_encoding_profile_get_restriction() for more details.