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
This commit is contained in:
Georges Basile Stavracas Neto 2020-02-24 14:14:07 -03:00
parent 86168b945c
commit 1f190a7cfe

View File

@ -389,8 +389,7 @@ add_cursor_metadata (MetaScreenCastStreamSrc *src,
static void static void
maybe_record_cursor (MetaScreenCastStreamSrc *src, maybe_record_cursor (MetaScreenCastStreamSrc *src,
struct spa_buffer *spa_buffer, struct spa_buffer *spa_buffer)
uint8_t *data)
{ {
MetaScreenCastStream *stream = meta_screen_cast_stream_src_get_stream (src); 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; 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; priv->last_frame_timestamp_us = now_us;