mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
ext/alsa/gstalsa.c: Reset variables on READY.
Original commit message from CVS: * ext/alsa/gstalsa.c: (gst_alsa_change_state): Reset variables on READY. * gst/matroska/matroska-mux.c: (gst_matroska_mux_request_new_pad), (gst_matroska_mux_loop): Require data before writing header.
This commit is contained in:
parent
c9df7333fb
commit
71c41d27f8
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
2005-01-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/alsa/gstalsa.c: (gst_alsa_change_state):
|
||||
Reset variables on READY.
|
||||
* gst/matroska/matroska-mux.c: (gst_matroska_mux_request_new_pad),
|
||||
(gst_matroska_mux_loop):
|
||||
Require data before writing header.
|
||||
|
||||
2005-01-09 Francis Labonte <francis_labonte@hotmail.com>
|
||||
|
||||
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
|
|
@ -1190,6 +1190,8 @@ gst_alsa_change_state (GstElement * element)
|
|||
gst_alsa_stop_audio (this);
|
||||
g_free (this->format);
|
||||
this->format = NULL;
|
||||
this->played = 0;
|
||||
this->captured = 0;
|
||||
break;
|
||||
case GST_STATE_READY_TO_NULL:
|
||||
if (GST_FLAG_IS_SET (element, GST_ALSA_OPEN))
|
||||
|
|
Loading…
Reference in a new issue