<div dir="ltr">that did it! thanks a lot for the help. I have one more question, i'm trying to set_render_rectangle, I tried on both the created sink and the playbin casted to VideoOverlay but neither worked, here's the code <div><a href="https://gist.github.com/WuChanGG/18da3beb59c4a65c9ab4f854dc73b417">https://gist.github.com/WuChanGG/18da3beb59c4a65c9ab4f854dc73b417</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">El dom, 20 dic 2020 a las 4:07, 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 Sun, 2020-12-20 at 12:06 +0200, Sebastian Dröge wrote:</div><blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);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" style="display:inline-block;max-width:366px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-decoration-line:none;padding:1px 0px;border:none" target="_blank"><img style="vertical-align: bottom; border: none;" 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 style="opacity: 0.55; float: right; 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" target="_blank">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 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>