mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
validate: The 'buffering' variable needs to be static
We need its value between bus_callback calls to be the same
This commit is contained in:
parent
eabcf8f106
commit
49ab41743b
1 changed files with 1 additions and 1 deletions
|
@ -40,6 +40,7 @@
|
|||
|
||||
static GMainLoop *mainloop;
|
||||
static GstElement *pipeline;
|
||||
static gboolean buffering = FALSE;
|
||||
|
||||
static gboolean is_live = FALSE;
|
||||
|
||||
|
@ -60,7 +61,6 @@ static gboolean
|
|||
bus_callback (GstBus * bus, GstMessage * message, gpointer data)
|
||||
{
|
||||
GMainLoop *loop = data;
|
||||
gboolean buffering = FALSE;
|
||||
|
||||
switch (GST_MESSAGE_TYPE (message)) {
|
||||
case GST_MESSAGE_ERROR:
|
||||
|
|
Loading…
Reference in a new issue