[gegl/video-rejuvenation: 45/60] ff-load: re-enable audio decoding



commit 97594436e835b9c22e2eef48fdb8330850bc9f9f
Author: Øyvind Kolås <pippin gimp org>
Date:   Thu Nov 5 21:27:01 2015 +0100

    ff-load: re-enable audio decoding

 operations/external/ff-load.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/operations/external/ff-load.c b/operations/external/ff-load.c
index ff77c83..478c61b 100644
--- a/operations/external/ff-load.c
+++ b/operations/external/ff-load.c
@@ -565,7 +565,6 @@ static void get_sample_data (Priv *p, long sample_no, float *left, float *right)
 {
   long no = 0;
   GList *l;
-  return;
   l = p->audio_track;
   if (sample_no < 0)
     return;
@@ -625,7 +624,7 @@ process (GeglOperation       *operation,
 
         long sample_start = 0;
 
-       if (p->audio_stream->codec && 0)
+       if (p->audio_stream->codec)
         {
           o->audio->samplerate = p->audio_stream->codec->sample_rate;
           o->audio->samples = samples_per_frame (o->frame,


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