[Bug 728322] New: omvideodec: don't unref caps before logging field from it

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 16 02:09:59 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=728322
  GStreamer | gst-omx | git

           Summary: omvideodec: don't unref caps before logging field from
                    it
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: Normal
         Component: gst-omx
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: aurelien.zanelli at parrot.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=274431)
 View: https://bugzilla.gnome.org/attachment.cgi?id=274431
 Review: https://bugzilla.gnome.org/review?bug=728322&attachment=274431

omxvideodec: don't unref caps before logging field from it

In gst_omx_video_dec_negotiate() function, we log negotiating format extracted
from caps. However, caps structure has been unref before. It causes logging to
access memory it should not.

I attached a patch which fix it.

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