当电影结束异常时,gst_bin_dispose函数在哪里?

时间:2014-02-04 02:36:50

标签: gstreamer

当电影在暂停状态下异常结束时(如果出现Streame错误), 不调用gst_bin_dispose函数。

在哪里调用gst_bin_dispose函数?为什么不调用这个函数?

1 个答案:

答案 0 :(得分:0)

每当bin被销毁时,都会调用

gst_bin_dispose函数。这意味着当GObject的引用计数达到0时,意味着该对象被破坏。

完整文档位于:https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#GObjectClass.dispose