basesink: add prepare method
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 16 May 2012 10:08:44 +0000 (12:08 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 16 May 2012 10:08:44 +0000 (12:08 +0200)
commit602bd2996073691420d67b361adc68fff0cd479e
tree8de94bc68526a9e82a4eb0e8680e909e00901690
parentd6e909994c9316c69187a1e9729f45eeace62137
basesink: add prepare method

Add a prepare method that is called before sync happens. The purpose of this
method is to prepare the rendering of the giving buffer so that the following
render() call after sync is a quick as possible.
libs/gst/base/gstbasesink.c
libs/gst/base/gstbasesink.h