fakesink: avoid typecheck

This commit is contained in:
Wim Taymans 2009-05-02 12:59:54 +02:00 committed by Wim Taymans
parent 53d3663139
commit 103b2a41bf

View file

@ -146,8 +146,8 @@ marshal_VOID__MINIOBJECT_OBJECT (GClosure * closure, GValue * return_value,
data2 = closure->data;
}
callback =
(marshalfunc_VOID__MINIOBJECT_OBJECT) (marshal_data ? marshal_data : cc->
callback);
(marshalfunc_VOID__MINIOBJECT_OBJECT) (marshal_data ? marshal_data :
cc->callback);
callback (data1, gst_value_get_mini_object (param_values + 1),
g_value_get_object (param_values + 2), data2);
@ -445,7 +445,7 @@ gst_fake_sink_render (GstBaseSink * bsink, GstBuffer * buf)
", duration: %s, offset: %" G_GINT64_FORMAT ", offset_end: %"
G_GINT64_FORMAT ", flags: %d) %p", GST_BUFFER_SIZE (buf), ts_str,
dur_str, GST_BUFFER_OFFSET (buf), GST_BUFFER_OFFSET_END (buf),
GST_MINI_OBJECT (buf)->flags, buf);
GST_MINI_OBJECT_CAST (buf)->flags, buf);
GST_OBJECT_UNLOCK (sink);
g_object_notify (G_OBJECT (sink), "last_message");