mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
gst-launch: Remove meaningless global variable
This commit is contained in:
parent
acf66273f5
commit
966d013bf0
1 changed files with 0 additions and 3 deletions
|
@ -64,7 +64,6 @@ static gboolean tags = FALSE;
|
||||||
static gboolean toc = FALSE;
|
static gboolean toc = FALSE;
|
||||||
static gboolean messages = FALSE;
|
static gboolean messages = FALSE;
|
||||||
static gboolean is_live = FALSE;
|
static gboolean is_live = FALSE;
|
||||||
static gboolean waiting_eos = FALSE;
|
|
||||||
static gchar **exclude_args = NULL;
|
static gchar **exclude_args = NULL;
|
||||||
|
|
||||||
/* convenience macro so we don't have to litter the code with if(!quiet) */
|
/* convenience macro so we don't have to litter the code with if(!quiet) */
|
||||||
|
@ -618,7 +617,6 @@ event_loop (GstElement * pipeline, gboolean blocking, gboolean do_progress,
|
||||||
gst_element_set_state (pipeline, GST_STATE_PLAYING);
|
gst_element_set_state (pipeline, GST_STATE_PLAYING);
|
||||||
break;
|
break;
|
||||||
case GST_MESSAGE_EOS:{
|
case GST_MESSAGE_EOS:{
|
||||||
waiting_eos = FALSE;
|
|
||||||
PRINT (_("Got EOS from element \"%s\".\n"),
|
PRINT (_("Got EOS from element \"%s\".\n"),
|
||||||
GST_MESSAGE_SRC_NAME (message));
|
GST_MESSAGE_SRC_NAME (message));
|
||||||
goto exit;
|
goto exit;
|
||||||
|
@ -1190,7 +1188,6 @@ main (int argc, char *argv[])
|
||||||
if (eos_on_shutdown && caught_error != ELR_NO_ERROR) {
|
if (eos_on_shutdown && caught_error != ELR_NO_ERROR) {
|
||||||
gboolean ignore_errors;
|
gboolean ignore_errors;
|
||||||
|
|
||||||
waiting_eos = TRUE;
|
|
||||||
if (caught_error == ELR_INTERRUPT) {
|
if (caught_error == ELR_INTERRUPT) {
|
||||||
PRINT (_("EOS on shutdown enabled -- Forcing EOS on the pipeline\n"));
|
PRINT (_("EOS on shutdown enabled -- Forcing EOS on the pipeline\n"));
|
||||||
gst_element_send_event (pipeline, gst_event_new_eos ());
|
gst_element_send_event (pipeline, gst_event_new_eos ());
|
||||||
|
|
Loading…
Reference in a new issue