linking error when input stream connected to glvideomixer will change
when adding passthrou element(identity) to pipeline between queue and proxysink.
only happening when TestSrc resolution do not match capsfilter resolution insterted after videoscale in mixer_pipe.
linking error while linking passthrou element(identity) with queue and proxysink on callback.
0:00:06.075719729 74767 0x7f7dc0002360 INFO GST_PADS gstpad.c:2434:gst_pad_link_prepare: caps are incompatible 0:00:06.075800353 74767 0x7f7dc0002360 INFO GST_PADS gstpad.c:2527:gst_pad_link_full: link between identity0:src and proxysink0:sink failed: no common format
when using compositor not glvideomixer same code works
there should be possible to add passthru element like indetity despite resolution difference. videoscale present.
glvideomixer should behave like compositor.
additional info: The following code will fail when resolution on the capsfilter (mixer_pipe) is different then resolution on the videotestsrc (video_pipe). Comments in the source code included.
In case with the glvideomixer there is a unlinked proxysink element visible on the dot file.
Everything works fine with the compositor but fails with glvideomixer.
Build command: libtool --mode=link gcc
pkg-config --cflags --libs gstreamer-1.0 -o myprog main.cpp