mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
sys/oss/gstosssink.c: use gst_element_get_time to get correct time
Original commit message from CVS: 2004-01-27 Benjamin Otte <in7y118@public.uni-hamburg.de> * sys/oss/gstosssink.c: (gst_osssink_sink_query): use gst_element_get_time to get correct time
This commit is contained in:
parent
0e33a45d84
commit
2ff91478b4
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-01-27 Benjamin Otte <in7y118@public.uni-hamburg.de>
|
||||
|
||||
* sys/oss/gstosssink.c: (gst_osssink_sink_query):
|
||||
use gst_element_get_time to get correct time
|
||||
|
||||
2004-01-27 Julien MOUTTE <julien@moutte.net>
|
||||
|
||||
* gst-libs/gst/play/gstplay.c: (gst_play_set_location): The easiest
|
||||
|
|
|
@ -476,7 +476,7 @@ gst_osssink_sink_query (GstPad *pad, GstQueryType type, GstFormat *format, gint6
|
|||
break;
|
||||
case GST_QUERY_POSITION:
|
||||
if (!gst_osssink_convert (pad,
|
||||
GST_FORMAT_TIME, gst_clock_get_time (osssink->provided_clock),
|
||||
GST_FORMAT_TIME, gst_element_get_time (GST_ELEMENT (osssink)),
|
||||
format, value))
|
||||
{
|
||||
res = FALSE;
|
||||
|
|
Loading…
Reference in a new issue