mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
mpegtbase: reset element in READY=>PAUSED
Ensures all subclass reset vmethods are called
This commit is contained in:
parent
b1295aef14
commit
e3c0bbe5f6
1 changed files with 9 additions and 0 deletions
|
@ -1805,6 +1805,15 @@ mpegts_base_change_state (GstElement * element, GstStateChange transition)
|
|||
GstStateChangeReturn ret;
|
||||
|
||||
base = GST_MPEGTS_BASE (element);
|
||||
|
||||
switch (transition) {
|
||||
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
||||
mpegts_base_reset (base);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition);
|
||||
|
||||
switch (transition) {
|
||||
|
|
Loading…
Reference in a new issue