我在使用 gstreamer 时遇到以下错误:
bus_call: bus_call(error) from /GstPlayBin2:player/GstPlaySink:playsink0/GstBin:vbin/GstFluVAAutoSink:fluvaautosink0/GstFluVAx11Sink:fluvax11sink0
bus_call: Error: Output window was closed
Debug details: fluvabasesink.c(874): gst_fluvabasesink_show_frame (): /GstPlayBin2:player/GstPlaySink:playsink0/GstBin:vbin/GstFluVAAutoSink:fluvaautosink0/GstFluVAx11Sink:fluvax11sink0
经过我的研究,我认为这与调用gst_x_overlay_set_xwindow_id()
有关。当我删除调用此函数时,一切正常,尽管视频只是在新窗口而不是给定窗口中播放。
但对于 gst_x_overlay_set_xwindow_id()
,我检查覆盖和窗口值是否有效。
您对此有什么建议吗?
最佳答案
我也看到了。有人告诉我调用 gst_x_overlay_set_window_handle()
可能会导致不同的行为。
关于linux - gstreamer:输出窗口已关闭,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38386643/