summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2012-06-20 12:53:04 +0100
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2012-06-23 12:39:10 +0100
commita2cc2b5af26b0949c4fd9b12d32c8396c5b824ba (patch)
treece842cf9b1db8431748a268ffbacfb60c87108f3 /tools
parent42fab9db45665b1d7ca80e889cfa0b3e7368cd0b (diff)
downloadgstreamer-a2cc2b5af26b0949c4fd9b12d32c8396c5b824ba.tar.gz
tools: remove pointless get_state() in gst-launch
State changes to NULL state are always sync.
Diffstat (limited to 'tools')
-rw-r--r--tools/gst-launch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/gst-launch.c b/tools/gst-launch.c
index 12472d5246..863c7f5a0e 100644
--- a/tools/gst-launch.c
+++ b/tools/gst-launch.c
@@ -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"));