Commit e3481445 authored by Benjamin Berg's avatar Benjamin Berg
Browse files

Never start outputing black frames

We may not get any new frames from the shell for long periods if nothing
on the screen changes. So effectively disable the timeout and keep
sending the previous frame indefinately.
parent e8aa0730
......@@ -90,7 +90,7 @@ sink_create_source_cb (GnomeScreencastWindow * self, ScreencastSink * sink)
res = gst_element_factory_make ("intervideosrc", "screencastsrc");
g_object_set (res,
"do-timestamp", TRUE,
"timeout", (guint64) 10000000000,
"timeout", (guint64) G_MAXUINT64,
"channel", "screencast-inter-video",
NULL);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment