Details
If padAlloc is enabled and height/width is passed during cap negotiation then
configure codec maxHeight and maxWidth with this information. This will help to
share the buffers between decode and sink.

Note: typically demuxer provides height/width and one can use stream parsers
(like h264parse, mpeg4videoparse, mpegvideoparse) to retrive this
information from elementory streams.

Thanks
Brijesh

Details
If padAlloc is enabled and height/width is passed during cap negotiation then
configure codec maxHeight and maxWidth with this information. This will help to
share the buffers between decode and sink.

Note: typically demuxer provides height/width and one can use stream parsers
(like h264parse, mpeg4videoparse, mpegvideoparse) to retrive this
information from elementory streams.