mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
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:
parent
86168b945c
commit
1f190a7cfe
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user