mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 15:08:53 +00:00
tools: gst-launch: don't print properties being reset when shutting down
It's just noise.
This commit is contained in:
parent
307d67f8c0
commit
71422a9a70
1 changed files with 6 additions and 1 deletions
|
@ -982,6 +982,7 @@ main (int argc, char *argv[])
|
||||||
#endif
|
#endif
|
||||||
gchar **argvn;
|
gchar **argvn;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
gulong deep_notify_id = 0;
|
||||||
gint res = 0;
|
gint res = 0;
|
||||||
|
|
||||||
free (malloc (8)); /* -lefence */
|
free (malloc (8)); /* -lefence */
|
||||||
|
@ -1045,7 +1046,7 @@ main (int argc, char *argv[])
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
gchar **exclude_list =
|
gchar **exclude_list =
|
||||||
exclude_args ? g_strsplit (exclude_args, ",", 0) : NULL;
|
exclude_args ? g_strsplit (exclude_args, ",", 0) : NULL;
|
||||||
g_signal_connect (pipeline, "deep-notify",
|
deep_notify_id = g_signal_connect (pipeline, "deep-notify",
|
||||||
G_CALLBACK (gst_object_default_deep_notify), exclude_list);
|
G_CALLBACK (gst_object_default_deep_notify), exclude_list);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1190,6 +1191,10 @@ main (int argc, char *argv[])
|
||||||
/* iterate mainloop to process pending stuff */
|
/* iterate mainloop to process pending stuff */
|
||||||
while (g_main_context_iteration (NULL, FALSE));
|
while (g_main_context_iteration (NULL, FALSE));
|
||||||
|
|
||||||
|
/* No need to see all those pad caps going to NULL etc., it's just noise */
|
||||||
|
if (deep_notify_id != 0)
|
||||||
|
g_signal_handler_disconnect (pipeline, deep_notify_id);
|
||||||
|
|
||||||
PRINT (_("Setting pipeline to READY ...\n"));
|
PRINT (_("Setting pipeline to READY ...\n"));
|
||||||
gst_element_set_state (pipeline, GST_STATE_READY);
|
gst_element_set_state (pipeline, GST_STATE_READY);
|
||||||
gst_element_get_state (pipeline, &state, &pending, GST_CLOCK_TIME_NONE);
|
gst_element_get_state (pipeline, &state, &pending, GST_CLOCK_TIME_NONE);
|
||||||
|
|
Loading…
Reference in a new issue