<!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> sink = gst_bin_new(0);<br> framebuffer = gst_element_factory_make("TIDmaiVideoSink", NULL);<br> g_object_set(G_OBJECT(framebuffer), "sync", false, NULL);<br> g_object_set(G_OBJECT(framebuffer), "contiguousInputFrame", false, NULL);<br><br> queue1 = gst_element_factory_make("queue", NULL);<br><br> decoder = gst_element_factory_make("TIViddec2", NULL);<br> g_object_set(G_OBJECT(decoder), "codecName", "h264dec", NULL);<br> g_object_set(G_OBJECT(decoder), "engineName", "codecServer", NULL);<br><br> gst_bin_add_many(GST_BIN(sink), decoder, queue1, framebuffer, NULL);<br> gst_element_link_many(decoder, queue1, framebuffer, NULL);<br><br> binsink = gst_element_get_static_pad(framebuffer, "sink");<br> ghostpad = gst_ghost_pad_new("sink", binsink);<br> gst_element_add_pad(GST_ELEMENT(sink), ghostpad);<br> 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>