[gegl/video-rejuvenation] ff-load: get rid of pts in audioframe



commit f9767096cea715336ddd60b21d1a5338f19114f8
Author: Øyvind Kolås <pippin gimp org>
Date:   Wed Nov 18 18:07:30 2015 +0100

    ff-load: get rid of pts in audioframe

 operations/external/ff-load.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/operations/external/ff-load.c b/operations/external/ff-load.c
index 74c1d0f..c1a7864 100644
--- a/operations/external/ff-load.c
+++ b/operations/external/ff-load.c
@@ -91,7 +91,6 @@ typedef struct
 #define MAX_AUDIO_SAMPLES   2048
 
 typedef struct AudioFrame {
-  int64_t          pts;
   float            data[MAX_AUDIO_CHANNELS][MAX_AUDIO_SAMPLES];
   int              channels;
   int              sample_rate;
@@ -245,7 +244,6 @@ decode_audio (GeglOperation *operation,
 
                AudioFrame *af = g_malloc0 (sizeof (AudioFrame));
           
-               af->pts = pkt.pts; // XXX : only right for first of set
                af->channels = MIN(p->audio_stream->codec->channels, MAX_AUDIO_CHANNELS);
 
                switch (p->audio_stream->codec->sample_fmt)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]