va: fix g-i annotation

This parameter annotation is unknown :[allow-null-none] None
This commit is contained in:
Tim-Philipp Müller 2024-02-03 17:43:23 +01:00
parent ef4f9d0240
commit b9b249be48
2 changed files with 2 additions and 2 deletions

View file

@ -833,7 +833,7 @@ the most widely used VA drivers.</doc>
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/va/gstvapool.c">a #GstBufferPool</doc>
<type name="Gst.BufferPool" c:type="GstBufferPool*"/>
</parameter>
<parameter name="size" direction="out" caller-allocates="0" transfer-ownership="full">
<parameter name="size" direction="out" caller-allocates="0" transfer-ownership="full" optional="1" allow-none="1">
<doc xml:space="preserve" filename="../subprojects/gst-plugins-bad/gst-libs/gst/va/gstvapool.c">the declared surface size</doc>
<type name="guint" c:type="guint*"/>
</parameter>

View file

@ -514,7 +514,7 @@ gst_va_pool_new_with_config (GstCaps * caps, guint min_buffers,
/**
* gst_va_pool_get_buffer_size:
* @pool: a #GstBufferPool
* @size: (out) (allow-null-none): the declared surface size
* @size: (out) (allow-none): the declared surface size
*
* Helper function to retrieve the VA surface size provided by @pool.
*