[Bug 655622] [opencv] [PATCH] Feature requests and bug fixes for gstOpenCV

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Aug 15 09:08:28 PDT 2011


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

--- Comment #11 from Nicola <lists at svrinformatica.it> 2011-08-15 16:08:23 UTC ---
Created an attachment (id=193880)
 View: https://bugzilla.gnome.org/attachment.cgi?id=193880
 Review: https://bugzilla.gnome.org/review?bug=655622&attachment=193880

motioncells: fixed valgrind warning

fixed this valgrind warning:

==1608== Conditional jump or move depends on uninitialised value(s)
==1608==    at 0xB087933: MotionCells::performDetectionMotionCells(_IplImage*,
double, double, int, int, long, bool, bool, int, motionmaskcoordrect*, int,
motioncellidx*, cellscolor, int, motioncellidx*, long, char*, bool, int)
(MotionCells.cpp:328)
==1608==    by 0xB08430B: perform_detection_motion_cells
(motioncells_wrapper.cpp:90)
==1608==    by 0xB0838CF: ??? (gstmotioncells.c:952)
==1608==    by 0x4E88DB1: gst_pad_chain_data_unchecked (gstpad.c:4247)
==1608==    by 0x4E8962A: gst_pad_push_data (gstpad.c:4479)
==1608==    by 0x4E8C42C: gst_pad_push (gstpad.c:4704)
==1608==    by 0x8B613C5: gst_base_transform_chain (gstbasetransform.c:2458)
==1608==    by 0x4E88DB1: gst_pad_chain_data_unchecked (gstpad.c:4247)
==1608==    by 0x4E8962A: gst_pad_push_data (gstpad.c:4479)
==1608==    by 0x4E8C42C: gst_pad_push (gstpad.c:4704)
==1608==    by 0x8B613C5: gst_base_transform_chain (gstbasetransform.c:2458)
==1608==    by 0x4E88DB1: gst_pad_chain_data_unchecked (gstpad.c:4247)
==1608==    by 0x4E8962A: gst_pad_push_data (gstpad.c:4479)
==1608==    by 0x4E8C42C: gst_pad_push (gstpad.c:4704)
==1608==    by 0xA9D662D: gst_video_rate_chain (gstvideorate.c:863)
==1608==    by 0x4E8C53B: gst_pad_push (gstpad.c:4684)
==1608==    by 0x8B59697: gst_base_src_loop (gstbasesrc.c:2516)
==1608==    by 0x4EB2BEF: gst_task_func (gsttask.c:318)
==1608==    by 0x55D7B15: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.2800.6)
==1608==    by 0x55D53E3: ??? (in
/lib/x86_64-linux-gnu/libglib-2.0.so.0.2800.6)

the valgrind warnings reported in my previous comment seems disappeared after a
new sync with the latest -bad and a recompilation so probably I had some local
change that caused that. 
Now motioncells seems completly valgrind friendly.

I tested with this pipeline:

gst-launch -m -t v4l2src ! videorate ! capsfilter
caps="video/x-raw-yuv,framerate=10/1,width=320,heigth=240"  ! ffmpegcolorspace
! motioncells sensitivity=0.8 postnomotion=10 ! ffmpegcolorspace ! xvimagesink
sync=false


Nicola

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