[gstreamer-bugs] [Bug 623883] New: gstksvideosrc.c error on MSVC using gst_element_class_set_details()

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jul 8 13:19:23 PDT 2010


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

           Summary: gstksvideosrc.c error on MSVC using
                    gst_element_class_set_details()
    Classification: Desktop
           Product: GStreamer
           Version: 0.10.19
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: dhoyt at llnl.gov
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


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

Fixes MSVC warning/error.

The following warning and error is emitted on gstksvideosrc.c using MSVC:

sys\winks\gstksvideosrc.c(158) : warning C4133: 'function' : incompatible types
- from 'char [11]' to 'const GstElementDetails *'
sys\winks\gstksvideosrc.c(159) : error C4020: 'gst_element_class_set_details' :
too many actual parameters

Changing it to call gst_element_class_set_details_simple() instead resolves the
issue.

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