I'm trying to modify the Telepathy-qt4 example 'call' application to
use one-way video (only display locally) and two-way audio. Audio seems
to be working, but the video isn't. Since nothing crashes or stops, I'm
stumped what I'm doing wrong.
In my video-widget.cpp, I'm creating a special bin for TI:
sink = gst_bin_new(0);
framebuffer = gst_element_factory_make("TIDmaiVideoSink", NULL);
g_object_set(G_OBJECT(framebuffer), "sync", false, NULL);
g_object_set(G_OBJECT(framebuffer), "contiguousInputFrame", false, NULL);
queue1 = gst_element_factory_make("queue", NULL);
decoder = gst_element_factory_make("TIViddec2", NULL);
g_object_set(G_OBJECT(decoder), "codecName", "h264dec", NULL);
g_object_set(G_OBJECT(decoder), "engineName", "codecServer", NULL);
gst_bin_add_many(GST_BIN(sink), decoder, queue1, framebuffer, NULL);
gst_element_link_many(decoder, queue1, framebuffer, NULL);
binsink = gst_element_get_static_pad(framebuffer, "sink");
ghostpad = gst_ghost_pad_new("sink", binsink);
gst_element_add_pad(GST_ELEMENT(sink), ghostpad);
gst_object_unref(G_OBJECT(binsink));
Should this be able to work?
Also, the farsight-channel.cpp seems to create the preview chain, but not the
display chain in the example code...._______________________________________________
telepathy mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/telepathy