mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
ext/alsa/gstalsasink.c: This seems to be antique leftover. It needs to pass error checking.
Original commit message from CVS: * ext/alsa/gstalsasink.c: (gst_alsa_sink_get_time): This seems to be antique leftover. It needs to pass error checking. * ext/sdl/sdlvideosink.c: (gst_sdlvideosink_init), (gst_sdlvideosink_deinitsdl), (gst_sdlvideosink_initsdl), (gst_sdlvideosink_destroy), (gst_sdlvideosink_create), (gst_sdlvideosink_sinkconnect), (gst_sdlvideosink_chain): Fix GstXOverlay implementation (#151059).
This commit is contained in:
parent
767cd0d102
commit
f04b458d87
2 changed files with 12 additions and 1 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
|||
2004-11-10 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* ext/alsa/gstalsasink.c: (gst_alsa_sink_get_time):
|
||||
This seems to be antique leftover. It needs to pass error
|
||||
checking.
|
||||
* ext/sdl/sdlvideosink.c: (gst_sdlvideosink_init),
|
||||
(gst_sdlvideosink_deinitsdl), (gst_sdlvideosink_initsdl),
|
||||
(gst_sdlvideosink_destroy), (gst_sdlvideosink_create),
|
||||
(gst_sdlvideosink_sinkconnect), (gst_sdlvideosink_chain):
|
||||
Fix GstXOverlay implementation (#151059).
|
||||
|
||||
2004-11-10 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
|
||||
|
||||
* gst/playback/gstplaybasebin.c: (gst_play_base_bin_change_state):
|
||||
|
|
|
@ -576,7 +576,7 @@ gst_alsa_sink_get_time (GstAlsa * this)
|
|||
if (!GST_FLAG_IS_SET (this, GST_ALSA_RUNNING)) {
|
||||
delay = 0;
|
||||
} else if (snd_pcm_delay (this->handle, &delay) != 0) {
|
||||
return this->played / this->format->rate;
|
||||
delay = 0;
|
||||
}
|
||||
if (this->played <= delay) {
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue