mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
gst/base/gstbasesink.c: Also reset the ->current_* values in READY->PAUSED
Original commit message from CVS: * gst/base/gstbasesink.c: (gst_base_sink_change_state): Also reset the ->current_* values in READY->PAUSED
This commit is contained in:
parent
24fc208196
commit
d32702193e
3 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-11-18 Edward Hervey <edward@fluendo.com>
|
||||
|
||||
* gst/base/gstbasesink.c: (gst_base_sink_change_state):
|
||||
Also reset the ->current_* values in READY->PAUSED
|
||||
|
||||
2005-11-18 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
|
||||
|
|
|
@ -1590,6 +1590,9 @@ gst_base_sink_change_state (GstElement * element, GstStateChange transition)
|
|||
basesink->segment_start = 0;
|
||||
basesink->segment_stop = -1;
|
||||
basesink->segment_time = 0;
|
||||
basesink->current_start = -1;
|
||||
basesink->current_duration = -1;
|
||||
basesink->current_end = -1;
|
||||
basesink->segment_accum = 0;
|
||||
ret = GST_STATE_CHANGE_ASYNC;
|
||||
break;
|
||||
|
|
|
@ -1590,6 +1590,9 @@ gst_base_sink_change_state (GstElement * element, GstStateChange transition)
|
|||
basesink->segment_start = 0;
|
||||
basesink->segment_stop = -1;
|
||||
basesink->segment_time = 0;
|
||||
basesink->current_start = -1;
|
||||
basesink->current_duration = -1;
|
||||
basesink->current_end = -1;
|
||||
basesink->segment_accum = 0;
|
||||
ret = GST_STATE_CHANGE_ASYNC;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue