mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
ext/alsa/gstalsa.c: be sure to stop the clock when going to paused
Original commit message from CVS: 2004-02-05 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/alsa/gstalsa.c: (gst_alsa_change_state): be sure to stop the clock when going to paused * sys/oss/gstosssink.c: (gst_osssink_change_state): reset number of transmitted when going to ready. fixes #132935 2004-02-05 Charles Schmidt <cschmidt2@emich.edu> reviewed by Benjamin Otte * ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list): extract track count (fixes #133410)
This commit is contained in:
parent
770577bfc5
commit
57556a8d93
2 changed files with 18 additions and 3 deletions
15
ChangeLog
15
ChangeLog
|
@ -1,3 +1,18 @@
|
|||
2004-02-05 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* ext/alsa/gstalsa.c: (gst_alsa_change_state):
|
||||
be sure to stop the clock when going to paused
|
||||
* sys/oss/gstosssink.c: (gst_osssink_change_state):
|
||||
reset number of transmitted when going to ready.
|
||||
fixes #132935
|
||||
|
||||
2004-02-05 Charles Schmidt <cschmidt2@emich.edu>
|
||||
|
||||
reviewed by Benjamin Otte
|
||||
|
||||
* ext/mad/gstid3tag.c: (gst_mad_id3_to_tag_list):
|
||||
extract track count (fixes #133410)
|
||||
|
||||
2004-02-04 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* ext/mad/gstid3tag.c: (gst_id3_tag_do_caps_nego):
|
||||
|
|
|
@ -734,11 +734,11 @@ gst_alsa_change_state (GstElement *element)
|
|||
return GST_STATE_FAILURE;
|
||||
}
|
||||
}
|
||||
break;
|
||||
} else {
|
||||
/* if device doesn't know how to pause, we just stop */
|
||||
if (GST_FLAG_IS_SET (element, GST_ALSA_RUNNING)) gst_alsa_stop_audio (this);
|
||||
}
|
||||
gst_alsa_clock_stop (this->clock);
|
||||
/* if device doesn't know how to pause, we just stop */
|
||||
if (GST_FLAG_IS_SET (element, GST_ALSA_RUNNING)) gst_alsa_stop_audio (this);
|
||||
break;
|
||||
case GST_STATE_PAUSED_TO_READY:
|
||||
if (GST_FLAG_IS_SET (element, GST_ALSA_RUNNING)) gst_alsa_stop_audio (this);
|
||||
|
|
Loading…
Reference in a new issue