<html><head></head><body><div>On Sun, 2020-12-20 at 12:06 +0200, Sebastian Dröge wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>On Sat, 2020-12-19 at 18:44 -0600, Eds Savage wrote:</div><div dir="ltr"><div class="gmail_chip gmail_drive_chip" style="width:396px;height:18px;max-height:18px;background-color:rgb(245,245,245);padding:5px;color:rgb(34,34,34);font-family:arial;font-weight:bold;font-size:13px;border:1px solid rgb(221,221,221);line-height:1"><a href="https://drive.google.com/file/d/1s42f7_PpgJHPSAoVl-QbOchBp75WDATC/view?usp=drive_web" target="_blank" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration-line:none;padding:1px 0px;border:none"><img style="vertical-align: bottom; border: none; --darkreader-inline-border-top: initial; --darkreader-inline-border-right: initial; --darkreader-inline-border-bottom: initial; --darkreader-inline-border-left: initial;" src="https://ssl.gstatic.com/docs/doclist/images/icon_10_generic_list.png"> <span dir="ltr" style="color:rgb(17,85,204);vertical-align:bottom;text-decoration:none">debug.txt</span></a><img src="cid:e588396e611fa70a464d575d72db46dabdfa912f.camel@centricular.com-0" style="opacity: 0.55; cursor: pointer; float: right; position: relative; top: -1px; display: none;"></div>This is the debug output, I only ran it for less than 5 minutes but let me know if you require me to run it for a longer period.</div><div><br></div><div>This is a bug in d3d11videosink. It's already expecting the window handle to be set before reaching READY state, while it should wait until PAUSED.</div><div><br></div><div>playbin is creating d3d11videosink, setting its state to READY and only if that doesn't fail it is adding it to itself and would be able to set the window handle.</div><div>But at that point d3d11videosink expects the window handle to be set already, so instead it created its own window.</div><div><br></div><div>See <a href="https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1485">https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1485</a> which I just created about that.</div></blockquote><div><br></div><div>Ah I forgot to add. A workaround for that would be to explicitly create d3d11videosink in your code, set the window handle on it and then set it for the "video-sink" property of playbin.</div><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>