[gstreamer-bugs] [Bug 592270] New: Cannot catch 'have-ns-view' on pipeline for playbin and playbin2

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 18 15:38:17 PDT 2009


http://bugzilla.gnome.org/show_bug.cgi?id=592270

           Summary: Cannot catch 'have-ns-view' on pipeline for playbin
                    and playbin2
    Classification: Desktop
           Product: GStreamer
           Version: git
        OS/Version: Macintosh
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: alexsid at bk.ru
         QAContact: gstreamer-bugs at lists.sourceforge.net
                CC: msmith at xiph.org
      GNOME target: ---
     GNOME version: ---


--- Comment #0 from alexey sidorov <alexsid at bk.ru> 2009-08-18 22:38:17 UTC ---
// Was reproducedwith code like this :
GstElement* m_pipeline = gst_element_factory_make("playbin2", "pipeline");
GstElement* videosink = gst_element_factory_make("osxvideosink", "vsink");
g_object_set(m_pipeline, "video-sink", videosink, NULL);

GstBus* bus = gst_element_get_bus(m_pipeline);
gst_bus_set_sync_handler(GST_BUS(bus), GstMessageDispatcher,
static_cast<Pipeline*>(this));
g_object_unref(GST_OBJECT(bus));

I never get in my Sync handler message with "have-ns-view". The reason is 
when playbin is trying to use my videosink it calls gst_element_set_state(elem,
GST_STATE_READY) before element has been added to playbin.
(
see: for playbin : gstplaybin.c in func 'get_video_element' (line 868)
     for playbin2: gstplaysink.c in func 'try_element' (line 837)
)

-- 
Configure bugmail: http://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