[Bug 615655] [camerabin] shouldn't rely on running GLib main loop

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 5 10:41:27 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=615655
  GStreamer | gst-plugins-bad | git

Thiago Sousa Santos <thiago.sousa.santos> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.22
         OS/Version|Linux                       |All

--- Comment #6 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2011-04-05 17:41:24 UTC ---
commit 9c5863ad3548cec9064b1b3edf04ddded70f1846
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Wed Dec 15 10:39:24 2010 +0000

    camerabin: don't rely on the application running the default GLib main loop

    Don't use g_idle_add() and friends to schedule things we can't do from the
    streaming thread in another thread. The app may not be running the default
    GLib main loop. Instead, just spawn a thread.

    Also, we need to care for when acessing a pad variable, as another thread
    might have taken camerabin to NULL while this gst_camerabin_imgbin_finished
    didn't run.

    https://bugzilla.gnome.org/show_bug.cgi?id=615655

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list