mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
fakesink: avoid typecheck
This commit is contained in:
parent
53d3663139
commit
103b2a41bf
1 changed files with 3 additions and 3 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue