mmaldec: Add mpeg2 decoding support

Multimedia / FFmpeg - Julian Scheel [jusst.de] - 22 October 2015 03:46 UTC

Register mmaldec as mpeg2 decoder. Supporting mpeg2 in mmaldec is just a matter of setting the correct MMAL_ENCODING on the input port. To ease the addition of further supported mmal codecs a macro is introduced to generate the decoder and decoder class structs.

7ebe12f mmaldec: Add mpeg2 decoding support
configure | 3 ++
libavcodec/Makefile | 1 +
libavcodec/allcodecs.c | 2 ++
libavcodec/mmaldec.c | 71 ++++++++++++++++++++++++++++++++----------------
4 files changed, 53 insertions(+), 24 deletions(-)

  • Share