view libmpcodecs/ae_toolame.h @ 18917:d9a75b26da6c

Add a new video pts tracking mode, enabled by option -correct-pts. This mode has the following differences: - Video timing is correct for streams with B frames, at least with some demuxers. - Video filters can modify frame timestamps and insert new frames, and removing frames is handled better than before. - Some things are known to break, it's not usable as the default yet. Things should work as before when the -correct-pts option is not used.
author uau
date Thu, 06 Jul 2006 06:58:17 +0000
parents 92772475ed8d
children 3baf6a2283da
line wrap: on
line source

#ifndef MPAE_TOOLAME_H
#define MPAE_TOOLAME_H

#include "ae.h"
#include <toolame.h>

typedef struct {
	toolame_options *toolame_ctx;
	int channels, srate, bitrate;
	int vbr;
	int16_t left_pcm[1152], right_pcm[1152];
} mpae_toolame_ctx;

int mpae_init_toolame(audio_encoder_t *encoder);

#endif