projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9aaafc
)
examples: no need to set intermediate states
author
Luis de Bethencourt
<luis.bg@samsung.com>
Mon, 13 Apr 2015 16:28:45 +0000
(17:28 +0100)
committer
Luis de Bethencourt
<luis.bg@samsung.com>
Mon, 13 Apr 2015 16:39:48 +0000
(17:39 +0100)
tests/examples/seek/scrubby.c
patch
|
blob
|
history
diff --git
a/tests/examples/seek/scrubby.c
b/tests/examples/seek/scrubby.c
index c49d42c522f6d7933fc2a8e8248dec6613e462f3..ac5720b5e53b51832e9b213bdc39f6ccc02a74cb 100644
(file)
--- a/
tests/examples/seek/scrubby.c
+++ b/
tests/examples/seek/scrubby.c
@@
-324,8
+324,6
@@
play_cb (GtkButton * button, gpointer data)
gst_element_get_state (pipeline, &state, NULL, GST_CLOCK_TIME_NONE);
if (state != GST_STATE_PLAYING) {
g_print ("PLAY pipeline\n");
- gst_element_set_state (pipeline, GST_STATE_PAUSED);
- gst_element_get_state (pipeline, NULL, NULL, GST_CLOCK_TIME_NONE);
gst_element_set_state (pipeline, GST_STATE_PLAYING);
update_id =
g_timeout_add (UPDATE_INTERVAL, (GSourceFunc) update_scale, pipeline);