<div dir="ltr">Thank you, Mandar Joshi, the suggestion to only link once with caps solved my problem.<div>And regarding the resolution, I am looking at the output from a video capture card that</div><div>is currently set to the resolution of an odd size display. Hopefully, I will be able to capture</div><div>the output and allow observation of the output at the same time.</div><div>Thanks again,</div><div>Jack</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 17, 2016 at 6:16 AM, Mandar Joshi <span dir="ltr"><<a href="mailto:emailmandar@gmail.com" target="_blank">emailmandar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">>   if (!(gst_element_link(data.<wbr>playbin, data.playsink))) {<br>
>     g_printerr ("Unable to link the source and the sink.\n");<br>
>     gst_object_unref (data.pipeline);<br>
>     return -1;<br>
>   }<br>
><br>
>   gst_element_link_many (data.playbin, data.playsink, NULL);<br>
>   link_ok = gst_element_link_filtered (data.playbin, data.playsink,<br>
> video_caps);<br>
>   gst_caps_unref(video_caps);<br>
><br>
>   if (!link_ok) {<br>
>     g_warning("Failed to link playbin and playsink with caps");<br>
>     }<br>
><br>
<br>
</span>You are trying to link the same elements multiple times. Try linking<br>
just once with caps.<br>
Are you sure that your camera supports resolution 800x480. Shouldn't<br>
this be 800x600 or 640x480 ?<br>
I had to add a videoconvert between playbin and playsink to get your<br>
code to work with my USB camera (Logitech C310)<br>
as it doesn't support.BGR.<br>
Hope this helps.<br>
<br>
Regards<br>
<span class="HOEnZb"><font color="#888888">Mandar Joshi<br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</font></span></blockquote></div><br></div>