[Bug 756628] New: audioclock: Application might fail if we pass GstClock to a function

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Oct 15 04:03:07 PDT 2015


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

            Bug ID: 756628
           Summary: audioclock: Application might fail if we pass GstClock
                    to a function
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: marcin.kolny at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I've noted that some methods of GstAudioClock class take GstClock pointer as an
argument, but inside this methods GstClock object is casted to GstAudioClock. 
I'd change type of argument, but it breaks the API - I'm not sure what are the
rules about changing the API in GStreamer project.
So, for now I'm providing a patch, which checks if passed object is of
GstAudioClock type.
In the future, I could also create a patch which changes type of the argument,
but as I said, I don't know whether I can change the API or not.

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