[Bug 680181] New: Fix misleading GST_WARNING in gst_poll_add_fd_unlocked

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 18 08:56:53 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=680181
  GStreamer | gstreamer (core) | git

           Summary: Fix misleading GST_WARNING in gst_poll_add_fd_unlocked
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: sebras at hotmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


When calling gst_poll_add_fd_unlocked() twice for the same fd and fdset while
having GST_DEBUG=3 I see this error:

GST_POLL gstreamer/gst/gstpoll.c:767:gst_poll_add_fd_unlocked: 0x595240:
couldn't find fd !

After looking through the code I observe that the message introduced by
dc3fb58a904f25f87fd2c6b4501af773f202d2a9 is misleading, actually it ought to
say that the fd has already been added.

-- 
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