~ubuntu-branches/ubuntu/saucy/gnash/saucy-proposed

« back to all changes in this revision

Viewing changes to libmedia/ffmpeg/AudioDecoderFfmpeg.cpp

  • Committer: Package Import Robot
  • Author(s): Micah Gersten
  • Date: 2012-03-04 03:19:06 UTC
  • mfrom: (1.1.18) (3.1.24 sid)
  • Revision ID: package-import@ubuntu.com-20120304031906-p6q5rnb0xhgpof7o
Tags: 0.8.10-3ubuntu1
* Merge from Debian testing (FFe: LP: #940876), remaining changes:
  - Use mozilla-flashplugin as the alternative for now
  - Change xulrunner-dev build dep to firefox-dev
* Drop the plugin API porting patch, this has been fixed upstream
  - drop debian/patches*
* Drop the following change as we want Adobe's player to take priority
  if it's installed
  - Set alternative priority to 50 so that it matches Adobe Flash's priority

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// AudioDecoderFfmpeg.cpp: Audio decoding using the FFmpeg library.
2
2
// 
3
 
//   Copyright (C) 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
 
3
//   Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012
 
4
//   Free Software Foundation, Inc.
4
5
//
5
6
// This program is free software; you can redistribute it and/or modify
6
7
// it under the terms of the GNU General Public License as published by
397
398
            //       or FLV AudioTag not containing full audio frames)
398
399
            //
399
400
 
400
 
            log_error("AudioDecoderFfmpeg: "
 
401
            log_error(_("AudioDecoderFfmpeg: "
401
402
                      "could not find a complete frame in "
402
403
                      "the last %d bytes of input"
403
 
                      " (malformed SWF or FLV?)",
 
404
                        " (malformed SWF or FLV?)"),
404
405
                      consumed);
405
406
            //abort();
406
407
            continue;
583
584
        av_free(output);
584
585
 
585
586
        if (expectedMaxOutSamples < outSamples) {
586
 
            log_error(" --- Computation of resampled samples (%d) < then the actual returned samples (%d)",
 
587
            log_error(_(" --- Computation of resampled samples (%d) < then the actual returned samples (%d)"),
587
588
                expectedMaxOutSamples, outSamples);
588
589
 
589
590
            log_debug(" input frame size: %d", outSize);