mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-21 15:56:42 +00:00
ext/alsa/gstalsa.c: use gst_element_get_time to get correct time
Original commit message from CVS: 2004-01-28 Benjamin Otte <in7y118@public.uni-hamburg.de> * ext/alsa/gstalsa.c: (gst_alsa_query_func): use gst_element_get_time to get correct time
This commit is contained in:
parent
2614bc1a48
commit
ead37dc249
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-01-28 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* ext/alsa/gstalsa.c: (gst_alsa_query_func):
|
||||
use gst_element_get_time to get correct time
|
||||
|
||||
2004-01-28 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
* sys/ximage/ximagesink.c: (gst_ximagesink_handle_xerror),
|
||||
|
|
|
@ -1235,7 +1235,7 @@ gst_alsa_query_func (GstElement *element, GstQueryType type, GstFormat *format,
|
|||
break;
|
||||
}
|
||||
case GST_QUERY_POSITION:
|
||||
res = gst_alsa_convert (this, GST_FORMAT_DEFAULT, this->transmitted, format, value);
|
||||
res = gst_alsa_convert (this, GST_FORMAT_TIME, gst_element_get_time (GST_ELEMENT (this)), format, value);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue