diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-06-20 12:53:04 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2012-06-20 12:53:04 +0100 |
commit | fe83d4aa6a91304f06b6ea932d18d08f3b78c03d (patch) | |
tree | 42a71e9de8bbab77ab7672f4ec642ffa1bbb7e47 | |
parent | 377d2363cee80c22a8a90a84b6e6baed519caf05 (diff) | |
download | gstreamer-fe83d4aa6a91304f06b6ea932d18d08f3b78c03d.tar.gz |
tools: remove pointless get_state() in gst-launch
State changes to NULL state are always sync.
-rw-r--r-- | tools/gst-launch.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/gst-launch.c b/tools/gst-launch.c index 09577b161c..d8072b1f57 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -1251,7 +1251,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")); |