Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
vp8_decoder: add inport_SetParameter to set nBufferSize #363
This allows the component to decide the nBufferSize depending on the resolution and framerate and prior its internal parsing. Indeed the demuxer will know this information before the decoder.
ghost left a comment
Thanks for the patch.
Normally, instead of overriding SetParameter, I would override this other function:
Which has an override in tizvideoport:
so essentially I would provide my own override of this "set_portdef_format" function in the vp8 decoder in port.
It can be done in SetParameter as you have done, but "set_portdef_format" is a virtual function designed for this type of thing.
I'll pull the patch, and I'll port the code to the other function later.