Commit 49fc8261 authored by Jan Schmidt's avatar Jan Schmidt
Browse files

ext/ogg/gstoggmux.c: Stop collectpads before calling the parent state change...

ext/ogg/gstoggmux.c: Stop collectpads before calling the parent state change function on PAUSED->READY.

Original commit message from CVS:
2005-08-02  Jan Schmidt  <thaytan@mad.scientist.com>
* ext/ogg/gstoggmux.c: (gst_ogg_mux_change_state):
Stop collectpads before calling the parent state
change function on PAUSED->READY.
parent b34c0e7e
2005-08-02 Jan Schmidt <thaytan@mad.scientist.com>
* ext/ogg/gstoggmux.c: (gst_ogg_mux_change_state):
Stop collectpads before calling the parent state
change function on PAUSED->READY.
2005-08-01 Jan Schmidt <thaytan@mad.scientist.com> 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
* configure.ac: * configure.ac:
When testing for X libs, use the X CFlags When testing for X libs, use the X CFlags
......
...@@ -1146,23 +1146,15 @@ gst_ogg_mux_change_state (GstElement * element) ...@@ -1146,23 +1146,15 @@ gst_ogg_mux_change_state (GstElement * element)
break; break;
case GST_STATE_PAUSED_TO_PLAYING: case GST_STATE_PAUSED_TO_PLAYING:
break; break;
default:
break;
}
ret = GST_ELEMENT_CLASS (parent_class)->change_state (element);
switch (transition) {
case GST_STATE_PLAYING_TO_PAUSED:
break;
case GST_STATE_PAUSED_TO_READY: case GST_STATE_PAUSED_TO_READY:
gst_collectpads_stop (ogg_mux->collect); gst_collectpads_stop (ogg_mux->collect);
break; break;
case GST_STATE_READY_TO_NULL:
break;
default: default:
break; break;
} }
ret = GST_ELEMENT_CLASS (parent_class)->change_state (element);
return ret; return ret;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment