Skip to content

Commit

Permalink
- wait shmsink for connection
Browse files Browse the repository at this point in the history
- leak old buffers when queue is full
  • Loading branch information
fzwoch committed Feb 14, 2018
1 parent fa19b26 commit 663a195
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnome-screencast.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ static void start(data_t* data)
}

g_autofree gchar* variant_string = g_strdup_printf(
"{'draw-cursor' : <%s>, 'framerate' : <%lld>, 'pipeline' : <'queue ! gdppay ! shmsink perms=384 socket-path=\"%s\" wait-for-connection=false sync=false'>}",
"{'draw-cursor' : <%s>, 'framerate' : <%lld>, 'pipeline' : <'queue leaky=downstream ! gdppay ! shmsink perms=384 socket-path=\"%s\" sync=false'>}",
obs_data_get_bool(data->settings, "show_cursor") ? "true" : "false",
obs_data_get_int(data->settings, "frame_rate"),
obs_data_get_string(data->settings, "shm_socket"));
Expand Down

0 comments on commit 663a195

Please sign in to comment.