mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-17 22:06:41 +00:00
tools: remove pointless get_state() in gst-launch
State changes to NULL state are always sync.
This commit is contained in:
parent
42fab9db45
commit
a2cc2b5af2
1 changed files with 0 additions and 1 deletions
|
@ -1161,7 +1161,6 @@ main (int argc, char *argv[])
|
|||
end:
|
||||
PRINT (_("Setting pipeline to NULL ...\n"));
|
||||
gst_element_set_state (pipeline, GST_STATE_NULL);
|
||||
gst_element_get_state (pipeline, &state, &pending, GST_CLOCK_TIME_NONE);
|
||||
}
|
||||
|
||||
PRINT (_("Freeing pipeline ...\n"));
|
||||
|
|
Loading…
Reference in a new issue