<div>Also:</div><div> </div><div>totem player, that uses playbin with cluttervideosink works fine with it.</div><div> </div><div>The difference I can see is that gst_base_transform_find_transform can sucessfully query caps from the peer of srcpad, and intersect them after it (which is a solution for such elements as my converter). But in case of manual decodebin pipeline (repeating:</div><div> </div><div>filesrc location=~/file.mp4 ! qtdemux ! decodebin ! xvimagesink</div><div> </div><div>) , srcpad has no peer at this moment.</div><div> </div><div> </div><div>-- </div><div>Atentamente,</div><div>Aleksandr Slobodeniuk</div><div>tel: +34 661 674 116</div><div> </div><div> </div><div> </div><div> </div><div> </div><div>08.03.2018, 18:32, "Aleksandr Slobodeniuk" <alenuke@yandex.ru>:</div><blockquote type="cite"><div>Greetings!<br /><br />I have an element, that is inherited from BaseTransform class.</div><div> </div><div>It's sinkpad's template supports "x-mycaps" caps.</div><div>It's sourcepad's template supports "x-mycaps" (first) and "x-raw" caps.</div><div> </div><div>The problem is that if I use it in decodebin2 , with xvimagesink on output:</div><div> </div><div>filesrc location=~/file.mp4 ! qtdemux ! decodebin ! xvimagesink</div><div> </div><div>When Decodebin2 is analyzing the pad in analyze_new_pad function, it checks if</div><div>myplugin's srcpad's caps are a subset of "final decodebin2 caps" (which is "video/x-raw", "audio/x-raw", etc).</div><div> </div><div>So, because srcpad's caps contain "x-mycaps", it's not a subset of "raw caps collection". Decodebin2 decides that the autoplugging process is not finished, and trying to plug it again, and again in infinite autoplugging process.</div><div> </div><div>---</div><div>Maybe you have any comment or advice for me?</div><div>Is it really impossible for Converter element to have not only the "raw caps" on srcpad?</div><div>---</div><div>Maybe you know some converter that supports several kinds of caps on srcpad?</div><div> </div><div>Thanks for attention!</div><div>-- </div><div>With respect,</div><div>Aleksandr Slobodeniuk</div><div>tel: <span>+34 661 674 116</span></div><div> </div><div> </div><div> </div>,<p>_______________________________________________<br />gstreamer-devel mailing list<br /><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br /><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a></p></blockquote>