projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08da7d6
)
composition: No need to reset the composition when going to PAUSED or NULL
author
Thibault Saunier
<tsaunier@gnome.org>
Mon, 14 Jul 2014 15:18:23 +0000
(17:18 +0200)
committer
Thibault Saunier
<tsaunier@gnome.org>
Fri, 31 Oct 2014 10:58:11 +0000
(11:58 +0100)
Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
gnl/gnlcomposition.c
patch
|
blob
|
history
diff --git
a/gnl/gnlcomposition.c
b/gnl/gnlcomposition.c
index
f7fcbaf
..
c076b00
100644
(file)
--- a/
gnl/gnlcomposition.c
+++ b/
gnl/gnlcomposition.c
@@
-2123,8
+2123,6
@@
gnl_composition_change_state (GstElement * element, GstStateChange transition)
_start_task (comp);
break;
case GST_STATE_CHANGE_READY_TO_PAUSED:
- gnl_composition_reset (comp);
-
/* state-lock all elements */
GST_DEBUG_OBJECT (comp,
"Setting all children to READY and locking their state");
@@
-2139,7
+2137,6
@@
gnl_composition_change_state (GstElement * element, GstStateChange transition)
case GST_STATE_CHANGE_READY_TO_NULL:
_stop_task (comp);
_set_all_children_state (comp, GST_STATE_NULL);
- gnl_composition_reset (comp);
break;
default:
break;