summaryrefslogtreecommitdiff
path: root/gst-libs/gst
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2020-05-16 19:58:25 +0200
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2020-05-16 20:01:59 +0200
commite20d06e64df9546946231a5c0d28430c66156735 (patch)
tree175fcb74d6d4e96d67e55ebb37c3eb7e55e1472a /gst-libs/gst
parentf20bd8bfd1c916c979319d134dbfc2ca5ef00167 (diff)
libs: removed duplicated function declarations
Some headers had duplicated inlined function declaration. This was for gtkdoc, but now GStreamer uses hotdoc and the internal library documentation is not generated. So let's remove these extra lines. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/323>
Diffstat (limited to 'gst-libs/gst')
-rw-r--r--gst-libs/gst/vaapi/gstvaapicodedbuffer.h1
-rw-r--r--gst-libs/gst/vaapi/gstvaapiimage.h1
-rw-r--r--gst-libs/gst/vaapi/gstvaapisurface.h1
3 files changed, 0 insertions, 3 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapicodedbuffer.h b/gst-libs/gst/vaapi/gstvaapicodedbuffer.h
index e84f57b8..bee4cc4f 100644
--- a/gst-libs/gst/vaapi/gstvaapicodedbuffer.h
+++ b/gst-libs/gst/vaapi/gstvaapicodedbuffer.h
@@ -54,7 +54,6 @@ gst_vaapi_coded_buffer_get_type (void) G_GNUC_CONST;
* Decreases the refcount of @buf. If the refcount reaches 0, the
* @buf will be freed.
*/
-static inline void gst_vaapi_coded_buffer_unref(GstVaapiCodedBuffer* buf);
static inline void
gst_vaapi_coded_buffer_unref (GstVaapiCodedBuffer * buf)
{
diff --git a/gst-libs/gst/vaapi/gstvaapiimage.h b/gst-libs/gst/vaapi/gstvaapiimage.h
index 5f8305d5..5ab6f74c 100644
--- a/gst-libs/gst/vaapi/gstvaapiimage.h
+++ b/gst-libs/gst/vaapi/gstvaapiimage.h
@@ -103,7 +103,6 @@ gst_vaapi_image_new_with_image(GstVaapiDisplay *display, VAImage *va_image);
* Decreases the refcount of the image. If the refcount reaches 0, the
* image will be freed.
*/
-static inline void gst_vaapi_image_unref(GstVaapiImage* image);
static inline void
gst_vaapi_image_unref (GstVaapiImage * image)
{
diff --git a/gst-libs/gst/vaapi/gstvaapisurface.h b/gst-libs/gst/vaapi/gstvaapisurface.h
index 68f99ff2..f702a09e 100644
--- a/gst-libs/gst/vaapi/gstvaapisurface.h
+++ b/gst-libs/gst/vaapi/gstvaapisurface.h
@@ -201,7 +201,6 @@ gst_vaapi_surface_get_type (void) G_GNUC_CONST;
* Decreases the refcount of the surface. If the refcount reaches 0, the
* surface will be freed.
*/
-static inline void gst_vaapi_surface_unref(GstVaapiSurface* surface);
static inline void
gst_vaapi_surface_unref (GstVaapiSurface * surface)
{