[Gstreamer-openmax] [PATCH] Add GstOmxBaseAudioDec base class

Rob Clark rob at ti.com
Sun Nov 22 21:30:38 PST 2009


On Nov 14, 2009, at 6:57 AM, Felipe Contreras wrote:

> On Wed, Nov 4, 2009 at 4:26 AM, Rob Clark <rob at ti.com> wrote:
>> Refactor some common functionality, in particular the  
>> settings_changed_cb, into an abstract base class.
>
> This is a good idea. I wanted to do this, but never managed to do it
> due to lack of time =/
>
>> +        if (rate == 0)
>> +        {
>> +            /** @todo: this shouldn't happen. */
>> +            GST_WARNING_OBJECT (omx_base, "Bad samplerate");
>> +            rate = 44100;
>> +        }
>> +    }
>
> This was a hack needed for bellagio's MP3 decoder which I think is not
> needed any more. We should get rid of this in the master branch, if
> somebody needs it, they should either fix their implementation, or
> patch gst-openmax.
>

ok.. I just left that as I wasn't sure what the original motivation  
for that case was..  I'd prefer to remove it if it can be confirmed  
that it is no longer required


BR,
-R





More information about the Gstreamer-openmax mailing list