[gst-devel] GStreamer videotestsrc could not show in QWidget
deneeel at hotmail.com
Mon Jan 25 08:32:23 CET 2010
i also use gst with qt
and i start the main loop according to gst document
in my application i have a video thread, and i pass to it the widget Wid, i start the main loop, i set the gst elements, set the overlay, and then run the main loop (g_main_loop_run)
if you dont use the loop of the gst, i think you should implement a loop of your own, waiting for gst event and "paint" each "frame" to the widget...
Date: Mon, 25 Jan 2010 14:54:34 +0800
From: funpig at gmail.com
To: gstreamer-devel at lists.sourceforge.net
Subject: Re: [gst-devel] GStreamer videotestsrc could not show in QWidget
please see my comments as below green text. thanks.
2010/1/25 Daniel Shachrur <deneeel at hotmail.com>
did you init the gst? did you start the gst main loop?
Tom : yes, i invoke gst_init(&argc, &argv) in main function. because i use gst in QT, so i'm not start gst main loop. i had look other QT app, it's not start gst main loop also.
maybe its nothing, but when i use ximagesink as a sink i use also xvi-outpout instead of screen_sink
Tom: i'll try this. but other app use screen_sink also. it could be work fine in nokia N810.
also maybe you should try running the gst from a command line (gst-luanch) to see whether you have problem that are not code related
Tom : yes, i running gst-luanch in command, the videotesetsrc is work fine. i think it's my code problem, not in gst itself.
Windows Live: Keep your friends up to date with what you do online.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel