[Bug 643252] Improve opencv facedetect performance

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 20 01:54:16 PDT 2011


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

Stefan Kost (gstreamer, gtkdoc dev) <ensonic> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #186932|none                        |reviewed
             status|                            |

--- Comment #11 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2011-07-20 08:54:14 UTC ---
Review of attachment 186932:
 --> (https://bugzilla.gnome.org/review?bug=643252&attachment=186932)

::: ext/opencv/gstfaceblur.c
@@ +397,3 @@
+     GstMessage *m = gst_message_new_element (GST_OBJECT (filter), s);
+     gst_element_post_message (GST_ELEMENT (filter), m);
+     filter->sent_profile_load_failed_msg = TRUE;

I think you could just use GST_ELEMENT_WARNING() here, something like this
(please review the actual message and chage as appropriate):

GST_ELEMENT_WARNING (filter, RESOURCE, NOT_FOUND,
  (_("Profile %s is missing.",profile_name)),
  ("missing facedetect profile file %s",profile_name);

This will send a warning message and log a warning (with the 2nd text) as well.

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