[Bug 642759] faceoverlay plugin: displays an SVG image over a detected face on a video stream

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 22 02:30:48 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=642759

Mathieu Duponchelle <mduponchelle1 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #324513|none                        |rejected
             status|                            |

--- Comment #9 from Mathieu Duponchelle <mduponchelle1 at gmail.com> ---
Review of attachment 324513:
 --> (https://bugzilla.gnome.org/review?bug=642759&attachment=324513)

You should ask for review in a separate, new bug, not in a RESOLVED FIXED one
from 2011 ;) I haven't actually tried your patch, but I assume it works for
your use case, however you have reduced the negotiation capabilities of this
element to nothing on your end, please fix that :)

::: gst/faceoverlay/gstfaceoverlay.c
@@ +82,3 @@
     GST_PAD_SINK,
     GST_PAD_ALWAYS,
+    GST_STATIC_CAPS_ANY);

You are now saying that this plugin can get anything as an input, which means I
should be able to push an encoded mp3 stream in its direction, is that the
case?

@@ +87,3 @@
     GST_PAD_SRC,
     GST_PAD_ALWAYS,
+    GST_STATIC_CAPS_ANY);

Same thing here, can this plugin output anything other than video/x-raw,
format=[YUV, RGB] ?

@@ -93,1 +91,1 @@
-GST_BOILERPLATE (GstFaceOverlay, gst_face_overlay, GstBin, GST_TYPE_BIN);
+#define gst_face_overlay_parent_class parent_class

Is this needed at all ? I honestly don't know whether this was something
defined by GST_BOILERPLATE and used in this file, it does not seem to be used
in this diff's context.

@@ -255,3 +254,3 @@
   }

-  GST_LOG_OBJECT (filter, "overlay dimensions: %d x %d @ %d,%d",
+  GST_DEBUG_OBJECT (filter, "overlay dimensions: %d x %d @ %d,%d",

Any good reason for promoting this to "DEBUG" ?

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