projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9da7016
)
Update to new element sync API
author
Wim Taymans
<wim.taymans@gmail.com>
Fri, 27 Dec 2002 23:00:34 +0000
(23:00 +0000)
committer
Wim Taymans
<wim.taymans@gmail.com>
Fri, 27 Dec 2002 23:00:34 +0000
(23:00 +0000)
Original commit message from CVS:
Update to new element sync API
ext/sdl/sdlvideosink.c
patch
|
blob
|
history
diff --git
a/ext/sdl/sdlvideosink.c
b/ext/sdl/sdlvideosink.c
index
2464677
..
5c7fdee
100644
(file)
--- a/
ext/sdl/sdlvideosink.c
+++ b/
ext/sdl/sdlvideosink.c
@@
-447,8
+447,10
@@
gst_sdlvideosink_chain (GstPad *pad, GstBuffer *buf)
GST_DEBUG (0,"videosink: clock wait: %llu", GST_BUFFER_TIMESTAMP(buf));
if (sdlvideosink->clock) {
- gst_element_clock_wait (GST_ELEMENT (sdlvideosink),
- sdlvideosink->clock, GST_BUFFER_TIMESTAMP (buf), NULL);
+ GstClockID id = gst_clock_new_single_shot_id (sdlvideosink->clock, GST_BUFFER_TIMESTAMP (buf));
+
+ gst_element_clock_wait (GST_ELEMENT (sdlvideosink), id, NULL);
+ gst_clock_id_free (id);
}
if (!gst_sdlvideosink_lock(sdlvideosink)) {