libeplayer3: move width/height/framerate/timescale calculation to writers

This commit is contained in:
martii
2014-04-05 11:36:49 +02:00
parent 0895d29e2a
commit abc8d3661e
9 changed files with 27 additions and 105 deletions

View File

@@ -38,16 +38,8 @@ typedef struct Track_s {
char *language;
/* length of track */
long long int duration;
unsigned int frame_rate;
unsigned int TimeScale;
int version;
long long int pts;
/* for later use: */
eTrackTypeEplayer type;
int width;
int height;
uint64_t duration;
uint64_t pts;
/* context from ffmpeg */
AVFormatContext *avfc;

View File

@@ -45,12 +45,6 @@ typedef struct {
uint64_t pts;
float frameRate;
unsigned int timeScale;
unsigned int width;
unsigned int height;
char *type;
/* context from ffmpeg */

View File

@@ -21,11 +21,6 @@ typedef struct {
int uSampleRate;
int uBitsPerSample;
int bLittleEndian;
unsigned int FrameRate;
unsigned int FrameScale;
unsigned int Width;
unsigned int Height;
unsigned char Version;
/* context from ffmpeg */
AVFormatContext *avfc;
/* stream from ffmpeg */