[mutter/gbsneto/dmabuf-screencast: 3/4] screen-cast-stream-src: Remove unused parameter
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/dmabuf-screencast: 3/4] screen-cast-stream-src: Remove unused parameter
- Date: Fri, 28 Feb 2020 18:53:15 +0000 (UTC)
commit 1f190a7cfe969a657c3a28465d43c5addb801bd2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Feb 24 14:14:07 2020 -0300
screen-cast-stream-src: Remove unused parameter
The 'data' parameter is not used in maybe_record_cursor(), so remove
it.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1086
src/backends/meta-screen-cast-stream-src.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/backends/meta-screen-cast-stream-src.c b/src/backends/meta-screen-cast-stream-src.c
index 6f7551ad4..9c3657c75 100644
--- a/src/backends/meta-screen-cast-stream-src.c
+++ b/src/backends/meta-screen-cast-stream-src.c
@@ -389,8 +389,7 @@ add_cursor_metadata (MetaScreenCastStreamSrc *src,
static void
maybe_record_cursor (MetaScreenCastStreamSrc *src,
- struct spa_buffer *spa_buffer,
- uint8_t *data)
+ struct spa_buffer *spa_buffer)
{
MetaScreenCastStream *stream = meta_screen_cast_stream_src_get_stream (src);
@@ -505,7 +504,7 @@ meta_screen_cast_stream_src_maybe_record_frame (MetaScreenCastStreamSrc *src)
spa_buffer->datas[0].chunk->size = 0;
}
- maybe_record_cursor (src, spa_buffer, data);
+ maybe_record_cursor (src, spa_buffer);
priv->last_frame_timestamp_us = now_us;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]