[Gstreamer-openmax] [PATCH 3/3] Don't hard-code port indexes

Felipe Contreras felipe.contreras at gmail.com
Tue Mar 23 15:14:52 PDT 2010


On Thu, Mar 18, 2010 at 12:50 AM, Rob Clark <rob at ti.com> wrote:
> This improves readability by keeping knowledge of numeric port-index value
> in only one place (in the element constructor), and makes it easier to
> later add derived classes with different port indexes (for example
> GstOmxCamera subclassing GstOmxBaseSrc, but having GstOmxBaseSrc handling a
> port whose index != 0 while derived class handles port index 0 and others).

This patch doesn't have much merit alone, but I guess it will be
useful later on. ACK.

-- 
Felipe Contreras




More information about the Gstreamer-openmax mailing list