[gstreamer-bugs] [Bug 316801] New: new plugin: gst-fakefilter
bugzilla-daemon at bugzilla.gnome.org
Tue Sep 20 12:05:44 PDT 2005
Do not reply to this email. You can add comments to this bug at
GStreamer | gst-plugins | Ver: 0.8.x
Summary: new plugin: gst-fakefilter
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: jason at subterrific.net
QAContact: gstreamer-bugs at lists.sourceforge.net
CC: all-bugs at bugzilla.gnome.org
I'd like to see this plugin or at least the functionality included in gstreamer.
I use it for specialized applications which can't be or don't need to be their
own plugin such as audio fingerprinting and file hashing. I think it would also
be useful for prototyping plugins or testing algorithms before taking the time
to develop a full plugin.
Very over simplified example of usage:
pipeline = gst_parse_launch("filesrc ! fakefilter name=hash_filter ! asfdemux
name=tag ! fakesink");
hash_filter = gst_bin_get_by_name(GST_BIN(pipeline->pipeline), "hash_filter");
g_signal_connect(hash_filter, "chain", G_CALLBACK(filter_chain_cb), pipeline);
void filter_chain_cb(GstElement* filter, GstPad *srcpad, GstPad *sinkpad,
GstData *data, State *state)
GstBuffer *buf = GST_BUFFER(data);
sha1_update(&state->sha1_ctx, GST_BUFFER_DATA(buf), GST_BUFFER_SIZE(buf));
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are the QA contact for the bug.
More information about the Gstreamer-bugs