mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
gst/wavparse/gstwavparse.c: Implement seek in READY (re-fixes #327658)
Original commit message from CVS: * gst/wavparse/gstwavparse.c: (gst_wavparse_reset), (gst_wavparse_change_state): Implement seek in READY (re-fixes #327658)
This commit is contained in:
parent
efbf11f35d
commit
dfa6de2b4a
2 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2006-03-13 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/wavparse/gstwavparse.c: (gst_wavparse_reset),
|
||||
(gst_wavparse_change_state):
|
||||
Implement seek in READY (re-fixes #327658)
|
||||
|
||||
2006-03-13 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_setcaps):
|
||||
|
|
|
@ -210,8 +210,6 @@ gst_wavparse_reset (GstWavParse * wavparse)
|
|||
wavparse->datasize = 0;
|
||||
wavparse->datastart = 0;
|
||||
|
||||
gst_event_replace (&wavparse->seek_event, NULL);
|
||||
|
||||
/* we keep the segment info in time */
|
||||
gst_segment_init (&wavparse->segment, GST_FORMAT_TIME);
|
||||
}
|
||||
|
@ -1525,6 +1523,8 @@ gst_wavparse_change_state (GstElement * element, GstStateChange transition)
|
|||
break;
|
||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||
gst_wavparse_destroy_sourcepad (wav);
|
||||
gst_event_replace (&wav->seek_event, NULL);
|
||||
gst_wavparse_reset (wav);
|
||||
break;
|
||||
case GST_STATE_CHANGE_READY_TO_NULL:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue