libeplayer3: move audio resampling to dedicated ipcm writer

This commit is contained in:
martii
2014-04-05 13:21:58 +02:00
parent abc8d3661e
commit 21a7d427fd
7 changed files with 203 additions and 175 deletions

View File

@@ -38,8 +38,8 @@ typedef struct Track_s {
char *language;
/* length of track */
uint64_t duration;
uint64_t pts;
int64_t duration;
//CHECK int64_t pts;
/* context from ffmpeg */
AVFormatContext *avfc;
@@ -53,7 +53,6 @@ typedef struct Track_s {
/* If player2 or the elf do not support decoding of audio codec set this.
* AVCodec is than used for softdecoding and stream will be injected as PCM */
int inject_as_pcm;
int inject_raw_pcm;
int pending;