<html><head></head><body><div>On Fri, 2020-12-18 at 02:43 -0600, Eds Savage wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div dir="ltr">this is the repository of my project<div><a href="https://github.com/WuChanGG/mechanical_rhythmboard">https://github.com/WuChanGG/mechanical_rhythmboard</a><br>at line 51 of <a href="http://media_player.rs">media_player.rs</a> calls "start_gstreamer"</div><div>in line 308 of the same file "set_window_handle" is called,</div><div>I don't know if I'm doing something wrong but it's opening the video in a new window, has anyone used a `winit` window to play a gstreamer video?</div></div></blockquote><div><br></div><div>I can't try it here as it only works on Windows, but that looks like it should work if the handle that is passed there is an actual window handle.</div><div>You set it on playbin before the pipeline starts, which should work fine.</div><div><br></div><div>Can you provide a debug log with GST_DEBUG=6? Maybe that gives some more information why it doesn't want to use your provided handle.</div><div><br></div><div><br></div><div>Also (unrelated) you're doing bus.remove_signal_watch() right after starting the pipeline. That means you will not get any messages on the bus after that anymore, and will certainly never get an EOS message because that will happen much later.</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"></blockquote><div><br></div><div><span><pre>-- <br></pre><div data-evo-paragraph="" class="" style="width: 71ch;" data-evo-signature-plain-text-mode="">Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com">https://www.centricular.com</a></div><div data-evo-paragraph="" class="" style="width: 71ch;"><br></div></span></div></body></html>