From 389a3c446107e4dda651dad3a8d946b4563caac0 Mon Sep 17 00:00:00 2001 From: Arun Raghavan Date: Fri, 17 Mar 2017 15:59:14 +0530 Subject: [PATCH] encoding-profile: Mark format caps as transfer-none in profile creation --- gst-libs/gst/pbutils/encoding-profile.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gst-libs/gst/pbutils/encoding-profile.c b/gst-libs/gst/pbutils/encoding-profile.c index 0946b8472b..02db4018df 100644 --- a/gst-libs/gst/pbutils/encoding-profile.c +++ b/gst-libs/gst/pbutils/encoding-profile.c @@ -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.