<div dir="ltr">Is there a way to put these logs in a file (I'm using `cargo run > debug.txt` but the file is empty)? Also how long should I run it for because it seemed endless.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El vie, 18 dic 2020 a las 3:30, Sebastian Dröge (<<a href="mailto:sebastian@centricular.com">sebastian@centricular.com</a>>) escribió:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>On Fri, 2020-12-18 at 02:43 -0600, Eds Savage wrote:</div><blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex"><div dir="ltr">this is the repository of my project<div><a href="https://github.com/WuChanGG/mechanical_rhythmboard" target="_blank">https://github.com/WuChanGG/mechanical_rhythmboard</a><br>at line 51 of <a href="http://media_player.rs" target="_blank">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:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex"></blockquote><div><br></div><div><span><pre>-- <br></pre><div style="width:71ch">Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" target="_blank">https://www.centricular.com</a></div><div style="width:71ch"><br></div></span></div></div>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>