<!DOCTYPE html PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=us-ascii">
<style>BODY{font:10pt Tahoma, Verdana, sans-serif}</style></head><body>
<div style="text-align: left;">I'm trying to modify the Telepathy-qt4 example 'call' application to<br>use one-way video (only display locally) and two-way audio. Audio seems<br>to be working, but the video isn't. Since nothing crashes or stops, I'm<br>stumped what I'm doing wrong.<br><br>In my video-widget.cpp, I'm creating a special bin for TI:<br>&nbsp;&nbsp;&nbsp; sink = gst_bin_new(0);<br>&nbsp;&nbsp;&nbsp; framebuffer = gst_element_factory_make("TIDmaiVideoSink", NULL);<br>&nbsp;&nbsp;&nbsp; g_object_set(G_OBJECT(framebuffer), "sync", false, NULL);<br>&nbsp;&nbsp;&nbsp; g_object_set(G_OBJECT(framebuffer), "contiguousInputFrame", false, NULL);<br><br>&nbsp;&nbsp;&nbsp; queue1 = gst_element_factory_make("queue", NULL);<br><br>&nbsp;&nbsp;&nbsp; decoder = gst_element_factory_make("TIViddec2", NULL);<br>&nbsp;&nbsp;&nbsp; g_object_set(G_OBJECT(decoder), "codecName", "h264dec", NULL);<br>&nbsp;&nbsp;&nbsp; g_object_set(G_OBJECT(decoder), "engineName", "codecServer", NULL);<br><br>&nbsp;&nbsp;&nbsp; gst_bin_add_many(GST_BIN(sink), decoder, queue1, framebuffer, NULL);<br>&nbsp;&nbsp;&nbsp; gst_element_link_many(decoder, queue1, framebuffer, NULL);<br><br>&nbsp;&nbsp;&nbsp; binsink = gst_element_get_static_pad(framebuffer, "sink");<br>&nbsp;&nbsp;&nbsp; ghostpad = gst_ghost_pad_new("sink", binsink);<br>&nbsp;&nbsp;&nbsp; gst_element_add_pad(GST_ELEMENT(sink), ghostpad);<br>&nbsp;&nbsp;&nbsp; gst_object_unref(G_OBJECT(binsink));<br><br>Should this be able to work?<br><br>Also, the farsight-channel.cpp seems to create the preview chain, but not the<br>display chain in the example code....<br><br></div></body></html>