diff options
author | Wim Taymans <wim.taymans@gmail.com> | 2002-12-27 23:00:36 +0000 |
---|---|---|
committer | Wim Taymans <wim.taymans@gmail.com> | 2002-12-27 23:00:36 +0000 |
commit | a06b9161dc442bfb97b4b90f97d117b42fc5b488 (patch) | |
tree | a5b8f4ef43b6597c84837e9d02ee506cf4bddae6 /ext | |
parent | 9308e1e4b0fe22909ce70e4787ec9b8dea615f35 (diff) |
Update to new element sync API
Original commit message from CVS:
Update to new element sync API
Diffstat (limited to 'ext')
-rw-r--r-- | ext/aalib/gstaasink.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/aalib/gstaasink.c b/ext/aalib/gstaasink.c index ad255fa2..045831e4 100644 --- a/ext/aalib/gstaasink.c +++ b/ext/aalib/gstaasink.c @@ -353,7 +353,9 @@ gst_aasink_chain (GstPad *pad, GstBuffer *buf) GST_DEBUG (0,"videosink: clock wait: %llu", GST_BUFFER_TIMESTAMP(buf)); if (aasink->clock) { - gst_element_clock_wait (GST_ELEMENT (aasink), aasink->clock, GST_BUFFER_TIMESTAMP(buf), NULL); + GstClockID id = gst_clock_new_single_shot_id (aasink->clock, GST_BUFFER_TIMESTAMP(buf)); + gst_element_clock_wait (GST_ELEMENT (aasink), id, NULL); + gst_clock_id_free (id); } aa_render (aasink->context, &aasink->ascii_parms, |