GStreamer error “assertion 'GST_IS_ELEMENT (src)' failed” when linking elements

♀尐吖头ヾ 提交于 2019-11-29 16:06:29

I figured out the problem, I was linking the dynamically-created pad incorrectly:

src.link(dest)

Should have been:

pad.link(dest.get_compatible_pad(pad, None))

If the element is not added with the pipeline, then this error will occur. Ensure that the problematic element is added with the pipeline.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!