diff options
author | Seungha Yang <seungha@centricular.com> | 2020-04-23 01:02:58 +0900 |
---|---|---|
committer | GStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org> | 2020-04-22 23:20:44 +0000 |
commit | 8325e42ade8e0a5831942438fbf38276457d8943 (patch) | |
tree | 88b9b2d1b8f3ef1aa234ebe7c49970456858f68b /gst-libs | |
parent | a89b819191e16942a1ab144a977e2e2063c47c13 (diff) | |
download | gstreamer-plugins-bad-8325e42ade8e0a5831942438fbf38276457d8943.tar.gz |
codecs: Fix some documentation
Add missing "transfer full" annotation, etc
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1079>
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/codecs/gsth264picture.c | 7 | ||||
-rw-r--r-- | gst-libs/gst/codecs/gsth265picture.c | 4 | ||||
-rw-r--r-- | gst-libs/gst/codecs/gstvp9picture.c | 1 |
3 files changed, 5 insertions, 7 deletions
diff --git a/gst-libs/gst/codecs/gsth264picture.c b/gst-libs/gst/codecs/gsth264picture.c index fb8a3b7bb..16f7a209f 100644 --- a/gst-libs/gst/codecs/gsth264picture.c +++ b/gst-libs/gst/codecs/gsth264picture.c @@ -370,7 +370,6 @@ gst_h264_dpb_get_long_ref_by_pic_num (GstH264Dpb * dpb, gint pic_num) /** * gst_h264_dpb_get_lowest_frame_num_short_ref: * @dpb: a #GstH264Dpb - * @pic_num: a picture number * * Find a short term reference picture which has the lowest frame_num_wrap * @@ -402,7 +401,7 @@ gst_h264_dpb_get_lowest_frame_num_short_ref (GstH264Dpb * dpb) /** * gst_h264_dpb_get_pictures_not_outputted: * @dpb: a #GstH264Dpb - * @out: (out): a list of #GstH264Dpb + * @out: (out) (transfer full): a list of #GstH264Picture * * Retrieve all not-outputted pictures from @dpb */ @@ -426,7 +425,7 @@ gst_h264_dpb_get_pictures_not_outputted (GstH264Dpb * dpb, GList ** out) /** * gst_h264_dpb_get_pictures_short_term_ref: * @dpb: a #GstH264Dpb - * @out: (out): a list of #GstH264Dpb + * @out: (out) (transfer full): a list of #GstH264Picture * * Retrieve all short-term reference pictures from @dpb */ @@ -450,7 +449,7 @@ gst_h264_dpb_get_pictures_short_term_ref (GstH264Dpb * dpb, GList ** out) /** * gst_h264_dpb_get_pictures_long_term_ref: * @dpb: a #GstH264Dpb - * @out: (out): a list of #GstH264Dpb + * @out: (out) (transfer full): a list of #GstH264Picture * * Retrieve all long-term reference pictures from @dpb */ diff --git a/gst-libs/gst/codecs/gsth265picture.c b/gst-libs/gst/codecs/gsth265picture.c index cf51c5944..41eaa43a1 100644 --- a/gst-libs/gst/codecs/gsth265picture.c +++ b/gst-libs/gst/codecs/gsth265picture.c @@ -333,7 +333,7 @@ gst_h265_dpb_get_ref_by_poc (GstH265Dpb * dpb, gint poc) } /** - * gst_h265_dpb_get_ref_by_poc: + * gst_h265_dpb_get_ref_by_poc_lsb: * @dpb: a #GstH265Dpb * @poc_lsb: a picture order count lsb * @@ -422,7 +422,7 @@ gst_h265_dpb_get_long_ref_by_poc (GstH265Dpb * dpb, gint poc) /** * gst_h265_dpb_get_pictures_not_outputted: * @dpb: a #GstH265Dpb - * @out: (out): a list of #GstH265Dpb + * @out: (out) (transfer full): a list of #GstH265Dpb * * Retrieve all not-outputted pictures from @dpb */ diff --git a/gst-libs/gst/codecs/gstvp9picture.c b/gst-libs/gst/codecs/gstvp9picture.c index a66632c0d..adddc1ff4 100644 --- a/gst-libs/gst/codecs/gstvp9picture.c +++ b/gst-libs/gst/codecs/gstvp9picture.c @@ -41,7 +41,6 @@ _gst_vp9_picture_free (GstVp9Picture * picture) /** * gst_vp9_picture_new: - * @buffer: (transfer none): a #GstBuffer * * Create new #GstVp9Picture * |