gst_bin_class_init (GstBinClass * klass)
{
GObjectClass *gobject_class;
- GstObjectClass *gstobject_class;
GstElementClass *gstelement_class;
GError *err;
gobject_class = (GObjectClass *) klass;
- gstobject_class = (GstObjectClass *) klass;
gstelement_class = (GstElementClass *) klass;
g_type_class_add_private (klass, sizeof (GstBinPrivate));
gboolean
gst_buffer_pool_set_active (GstBufferPool * pool, gboolean active)
{
- GstBufferPoolClass *pclass;
gboolean res = TRUE;
g_return_val_if_fail (GST_IS_BUFFER_POOL (pool), FALSE);
- pclass = GST_BUFFER_POOL_GET_CLASS (pool);
-
GST_LOG_OBJECT (pool, "active %d", active);
GST_BUFFER_POOL_LOCK (pool);
gst_element_class_init (GstElementClass * klass)
{
GObjectClass *gobject_class;
- GstObjectClass *gstobject_class;
gobject_class = (GObjectClass *) klass;
- gstobject_class = (GstObjectClass *) klass;
parent_class = g_type_class_peek_parent (klass);
switch (pending) {
case GST_STATE_PLAYING:
{
- GstBaseSinkClass *bclass;
-
- bclass = GST_BASE_SINK_GET_CLASS (basesink);
-
GST_DEBUG_OBJECT (basesink, "commiting state to PLAYING");
basesink->need_preroll = FALSE;