mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +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>
|
2006-03-13 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_setcaps):
|
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_setcaps):
|
||||||
|
|
|
@ -210,8 +210,6 @@ gst_wavparse_reset (GstWavParse * wavparse)
|
||||||
wavparse->datasize = 0;
|
wavparse->datasize = 0;
|
||||||
wavparse->datastart = 0;
|
wavparse->datastart = 0;
|
||||||
|
|
||||||
gst_event_replace (&wavparse->seek_event, NULL);
|
|
||||||
|
|
||||||
/* we keep the segment info in time */
|
/* we keep the segment info in time */
|
||||||
gst_segment_init (&wavparse->segment, GST_FORMAT_TIME);
|
gst_segment_init (&wavparse->segment, GST_FORMAT_TIME);
|
||||||
}
|
}
|
||||||
|
@ -1525,6 +1523,8 @@ gst_wavparse_change_state (GstElement * element, GstStateChange transition)
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
case GST_STATE_CHANGE_PAUSED_TO_READY:
|
||||||
gst_wavparse_destroy_sourcepad (wav);
|
gst_wavparse_destroy_sourcepad (wav);
|
||||||
|
gst_event_replace (&wav->seek_event, NULL);
|
||||||
|
gst_wavparse_reset (wav);
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_READY_TO_NULL:
|
case GST_STATE_CHANGE_READY_TO_NULL:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue