Commit ead37dc2 authored by Benjamin Otte's avatar Benjamin Otte

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
parent 2614bc1a
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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment