Sometimes vs. On Request Pads on Sink Side of Plugin

Greg Wunder gwunder at eoir.com
Mon Apr 11 07:35:22 PDT 2011


In my plug-in sink side, I am attempting to ingest 2 incoming sources.
I always expect to have data for sink 1, but sink 2 may not always have data.
If sink 2 has valid data, I compare the current frame in sink 1 to the data in sink 2.
If I find matching information, I modify the output of the data from sink 1.

Greg

-----Original Message-----
From: gstreamer-devel-bounces+gwunder=eoir.com at lists.freedesktop.org on behalf of Stefan Kost
Sent: Mon 4/11/2011 10:27 AM
To: gstreamer-devel at lists.freedesktop.org
Subject: Re: Sometimes vs. On Request Pads on Sink Side of Plugin
 
On 08.04.2011 18:53, Greg Wunder wrote:
>
> I could not easily find a plug-in that uses a sometimes pad on the
> sink side.
> The closest thing I could find were plug-ins like videomixer or mvemux
> that use "on request" pads (with & without collections).
> Is there an example of a plug-in with a sometimes pad on the sink side
> or is this not proper practice in plug-in development or has it just
> not been tested/done yet?
>
Asking the other way around, what is the example where you think you
would need it. "Sometimes pads" are data driven and thus appear usual as
src pads.

Stefan

> Greg
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110411/2a9ac416/attachment.htm>


More information about the gstreamer-devel mailing list