I am using my own GUI that doesn't make use of GLib. I am implementing gstreamer support for my GUI. I need to listen for EOS messages and potentially other errors, but adding a GMainLoop ruins the flow of my own GUI threads. I have tried creating a single thread that only runs G_main_loop_run(), but I noticed that I lose some Key Events to my own GUI when the loop is run. Is there anyway to listen for bus messages while either having GMainLoop or not without losing keystroke inputs?
Time for vacation? WIN what you need. Enter Now! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
You can associate a GMainLoop that you use for gstreamer with another
GMainContext but the default. See the attachment. Another way is to call gst_bus_pop() in your own loop. K On Thu, Jul 17, 2008 at 2:26 AM, Ash <[hidden email]> wrote: > I am using my own GUI that doesn't make use of GLib. I am implementing > gstreamer support for my GUI. I need to listen for EOS messages and > potentially other errors, but adding a GMainLoop ruins the flow of my own > GUI threads. I have tried creating a single thread that only runs > G_main_loop_run(), but I noticed that I lose some Key Events to my own GUI > when the loop is run. Is there anyway to listen for bus messages while > either having GMainLoop or not without losing keystroke inputs? > ________________________________ > Time for vacation? WIN what you need. Enter Now! > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gstreamer-devel mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gstreamer-devel > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel playbin.c (4K) Download Attachment |
Hi,
I am porting gst onto TI DM355 chip using HW mpeg4 decoder and framebuffer video display to playback 720P movie. It is basically working now. But it drops video frames sometimes. Please check the attached log, which dumps the timestamp of input gstbuffers in the _render() function in baseaudiosink, gdecoder(the video decoder), and fbvideosink. You will see around 31.5" the frames got decoded, but the _render() in fbvideosink never been called. fbvideosink does not specifically drop frames in _render(). Any comment? Regards, -Bin. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel dm355-gst-ts3.log.tar.gz (40K) Download Attachment |
Free forum by Nabble | Edit this page |