[Bug 629244] [opencv] Add motion detection element

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 2 14:54:04 PDT 2011


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

--- Comment #33 from Robert Jobbagy <jobbagy.robert at gmail.com> 2011-05-02 21:53:58 UTC ---
I fixed some warnings,but these remainings:

gstmotioncells.c: In function ‘gst_motioncells_set_property’:
gstmotioncells.c:351: warning: passing argument 1 of ‘gst_element_get_state’
from incompatible pointer type
/usr/local/include/gstreamer-0.10/gst/gstelement.h:807: note: expected ‘struct
GstElement *’ but argument is of type ‘struct Gstmotioncells *’
gstmotioncells.c:362: warning: passing argument 1 of ‘gst_element_get_state’
from incompatible pointer type
/usr/local/include/gstreamer-0.10/gst/gstelement.h:807: note: expected ‘struct
GstElement *’ but argument is of type ‘struct Gstmotioncells *’
gstmotioncells.c:394: warning: passing argument 1 of ‘gst_element_get_state’
from incompatible pointer type
/usr/local/include/gstreamer-0.10/gst/gstelement.h:807: note: expected ‘struct
GstElement *’ but argument is of type ‘struct Gstmotioncells *’
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for
Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wold-style-definition" is valid for
Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wnested-externs" is valid for C/ObjC
but not for C++
gstmotioncells.c: In function ‘gst_motioncells_chain’:
gstmotioncells.c:760: warning: suggest parentheses around ‘&&’ within ‘||’
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid
for C/ObjC but not for C++
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for
Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wold-style-definition" is valid for
Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wnested-externs" is valid for C/ObjC
but not for C++


if you can please fix these warnings.
Send patch.

Thanks,

Robert

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