validate:tools: EOS handling is the responsibility of the scenario

Summary: If any scenario set

Reviewers: Mathieu_Du

Differential Revision:
http://phabricator.freedesktop.org/D90
This commit is contained in:
Thibault Saunier 2015-04-10 13:29:47 +02:00
parent 6bb04c037c
commit 101ed96b5a
2 changed files with 4 additions and 2 deletions

View file

@ -456,7 +456,8 @@ bus_callback (GstBus * bus, GstMessage * message, gpointer data)
break;
}
case GST_MESSAGE_EOS:
g_main_loop_quit (loop);
if (!g_getenv ("GST_VALIDATE_SCENARIO"))
g_main_loop_quit (loop);
break;
case GST_MESSAGE_BUFFERING:{
gint percent;

View file

@ -79,7 +79,8 @@ bus_callback (GstBus * bus, GstMessage * message, gpointer data)
break;
}
case GST_MESSAGE_EOS:
g_main_loop_quit (loop);
if (!g_getenv ("GST_VALIDATE_SCENARIO"))
g_main_loop_quit (loop);
break;
case GST_MESSAGE_ASYNC_DONE:
break;