[gstreamer-bugs] [Bug 435120] cairosvgoverlay

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Sep 10 17:56:04 PDT 2010


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

--- Comment #16 from David Schleef <ds at schleef.org> 2010-09-11 00:55:58 UTC ---
I went through all the same thoughts when working on the API for coglogoinsert.
 I finally decided on filename only.  There were reasons for this:

- You could easily create an equivalent pipeline using filesrc and videomixer,
thus creating a complex API wasn't helpful.

- I was too lazy to implement anything else.

So, it got a location= property that takes a filename.  I was too lazy to do
the right thing in this case, which is to make the property take a GstBuffer
and then add a helper function in the core to set a property directly from a
file, and finally have gst_parse understand that setting a GstBuffer property
with a string containing a URI means that it should load the file into a
buffer.

There are effectively two ways to look at this:  Either it's a filter element,
or a mixer element that is very restricted on the formats it accepts on one
pad.  The latter element is nearly useless, because it's neither simple to use
nor general enough to be generally useful (like videomixer).

On the other hand, I am against adding this element because we should really
only have one logo insertion element that handles a limited number of useful
formats, like SVG and PNG.

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