gst_object_unref (GST_OBJECT (pad)); } 该方法 gst_element_request_pad_simple() 可用于根据 pad 模板的名称从element 元素中获取 pad。也可以请求与另一个 pad 模板兼容的 pad。这在你要请求一个兼容的 pad 用于将 element 元素链接到多路转换器 element 元素时会非常有用。该方法 gst_element_get_comp...
* g_array_unref: * @array: A #GArray. * * Atomically decrements the reference count of @array by one. If the * reference count drops to 0, all memory allocated by the array is * released. This function is MT-safe and may be called from any ...
3.4.167 -xprefetch_auto_type=indirect_array_access 3.4.168 –xprefetch_level={1|2|3} 3.4.169 –xprofile=p 3.4.170 –xprofile_ircache[=path] 3.4.171 –xprofile_pathmap=collect_prefix:use_prefix 3.4.172 –xrecursive 3.4.173 –xreduction 3.4.174 –xregs=r 3.4.175 -xs[={yes|no}] ...
for(inti = 0; i < dirs.Size(); i++) g_variant_builder_add(array,"s", dirs.At(i)); g_variant_builder_add_value(builder, g_variant_builder_end(array)); g_dbus_method_invocation_return_value(Invocation, g_variant_builder_end(builder)); g_variant_builder_unref(array); g_variant_b...
gst_object_unref (bus); static gboolean my_bus_callback (GstBus *bus, GstMessage *message, gpointer data) { GMainLoop *loop = data; switch (GST_MESSAGE_TYPE (message)) { case GST_MESSAGE_ERROR: { GError *err; gchar *debug;
g_array_remove_index_fast g_array_remove_range g_array_set_clear_func g_array_set_size g_array_sized_new g_array_sort g_array_sort_with_data g_array_unref g_ascii_digit_value g_ascii_dtostr g_ascii_formatd g_ascii_strcasecmp g_ascii_strdown g_ascii_strncasecmp ...
g_ptr_array_unref (plugin->factories[i]);g_slice_free (GstPluginStats, data); }static void do_pad_stats (GstPadStats * stats, guint elem_ix, guint size, guint64 ts, guint64 buffer_ts, guint64 buffer_dur, GstBufferFlags buffer_flags) ...
g_array_append_val(message, sei_msg); GstMemory *mem = gst_h264_create_sei_memory(4, message); GstBuffer *buffer_sei = gst_h264_parser_insert_sei(parser, buffer, mem); gst_buffer_unref(buffer_sei); // 根据情况选择push到下个pad或者unref gst_memory_unref(mem); g_array_unref(messag...
(GBoxedFreeFunc) gst_caps_unref); g_value_register_transform_func (gst_caps_type, G_TYPE_STRING, gst_caps_transform_to_string); } return gst_caps_type; } GstMiniObject |___GstEvent ? 1 G_DEFINE_TYPE_WITH_CODE (GstEvent, gst_event, GST_TYPE_MINI_OBJECT, _do_init); GstMiniObject...
【24】UNREF | g_hash_table_unref 广告 图灵程序设计丛书:深入理解C指针(图灵出品) 京东 ¥45.00 去购买 GLib哈希表是一个黑盒结构体(struct GHashTable)对象,调用者不能直接访问该结构体中的数据,而只能通过以“g_hash_table_”开头的一系列API函数访问该对象。