/*
   mkvmerge -- utility for splicing together matroska files
   from component media subtypes

   Distributed under the GPL v2
   see the file COPYING for details
   or visit http://www.gnu.org/copyleft/gpl.html

   class definitions for the AAC framing type converter

   Written by Moritz Bunkus <moritz@bunkus.org>.
*/

#ifndef MTX_INPUT_AAC_FRAMING_PACKET_CONVERTER_H
#define MTX_INPUT_AAC_FRAMING_PACKET_CONVERTER_H

#include "common/common_pch.h"

#include "common/aac.h"
#include "input/packet_converter.h"

class aac_framing_packet_converter_c: public packet_converter_c {
protected:
  aac::parser_c m_parser;

public:
  aac_framing_packet_converter_c(generic_packetizer_c *ptzr);
  virtual ~aac_framing_packet_converter_c() {};

  virtual bool convert(packet_cptr const &packet);
};

#endif  // MTX_INPUT_AAC_FRAMING_PACKET_CONVERTER_H
