projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eabcf8f
)
validate: The 'buffering' variable needs to be static
author
Thibault Saunier
<tsaunier@gnome.org>
Sun, 4 May 2014 07:30:14 +0000
(09:30 +0200)
committer
Thibault Saunier
<tsaunier@gnome.org>
Sun, 4 May 2014 07:30:16 +0000
(09:30 +0200)
We need its value between bus_callback calls to be the same
validate/tools/gst-validate.c
patch
|
blob
|
history
diff --git
a/validate/tools/gst-validate.c
b/validate/tools/gst-validate.c
index 2bbf8e4cc33178da664fbbc56fc0b7c23d8ba795..13e9e33657b9e43c9807babdf2e7feee8009615e 100644
(file)
--- a/
validate/tools/gst-validate.c
+++ b/
validate/tools/gst-validate.c
@@
-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: