[mythtv-commits] mythtv branch master updated by jyavenard. v0.27-pre2-1506-g2338de1

Git Repo Owner noreply at mythtv.org
Wed Jun 19 12:12:58 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user jyavenard.
       via  2338de15eabcf639734cecdaebad77b7aa6d27fc (commit)
       via  f964c0e7abbc5883ee54413582bdf1ea00edd2fb (commit)
       via  f0d803b21de2321eddf889c0d07601d52ee25ad3 (commit)
       via  ef80f72f22a8bb13b711b17cd74e12b26198039d (commit)
       via  004dcf2b81d182c0a476f414b3adf822b37dd4d5 (commit)
      from  b4f579a88db5fc9613ff7dc43ab1dba1caef5a33 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2338de15eabcf639734cecdaebad77b7aa6d27fc
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 19 Jun 2013 22:00:48 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 19 Jun 2013 22:12:39 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=2338de15eabcf639734cecdaebad77b7aa6d27fc

Following 813524643bc397c14b48e25aa5cc01ab8d99fb97; upgrade NuppelDecoder for new audio framework API
This will probably fix transcoding nuppel videos.



commit f964c0e7abbc5883ee54413582bdf1ea00edd2fb
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 19 Jun 2013 21:55:33 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 19 Jun 2013 22:12:39 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f964c0e7abbc5883ee54413582bdf1ea00edd2fb

Revert 3c8f209d3a09 on audioreencodebuffer.{cpp;h}
New audio class doesn't require its derivated class to handle format conversion ; it's now done at the core level.



commit f0d803b21de2321eddf889c0d07601d52ee25ad3
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 19 Jun 2013 21:53:48 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 19 Jun 2013 22:12:38 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=f0d803b21de2321eddf889c0d07601d52ee25ad3

Expand Audio Framework to only ever decode S16, interleaved audio unless explicitly configured otherwise
This will greatly simplify custom audio class like the one used in mythtranscode.
Add two methods to AudioOutput:
-CanProcess: will tell if the audio instance can handle a given sample format
-DecodeAudio: will decode audio and de-interleave according to what the audio instance can receive

AudioPlayer is extended accordingly. AVFD will now use new methods to decode audio before feeding it to the audio class.



commit ef80f72f22a8bb13b711b17cd74e12b26198039d
Author:    Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 19 Jun 2013 21:32:45 +1000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 19 Jun 2013 22:12:38 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=ef80f72f22a8bb13b711b17cd74e12b26198039d

Fix audio corruption when encoding using built-in AAC encoder.
Was only processing half-the audio samples



commit 004dcf2b81d182c0a476f414b3adf822b37dd4d5
Author:    Gary Buhrmaster <gary.buhrmaster at gmail.com> at Mon, 17 Jun 2013 21:27:29 +0000
Committer: Jean-Yves Avenard <jyavenard at mythtv.org> at Wed, 19 Jun 2013 22:12:38 +1000
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=004dcf2b81d182c0a476f414b3adf822b37dd4d5

Allocate sufficiently sized buffer for entire segment including the unencrypted section.
A real bug.  Per the specifications, the AES decryption
will occur only on complete 16 byte blocks, with the
remainder unencrypted.  The codes allocated a buffer
only big enough for the aes encrypted data, and when
it copied the remainder, it overflowed that buffer
(anywhere from 0 to 15 bytes).

Fixes coverity 1023889

(There is some chance coverity will not understand the fix)

Signed-off-by: Jean-Yves Avenard <jyavenard at mythtv.org>



-----------------------------------------------------------------------

Summary of changes:
 mythtv/libs/libmyth/audio/audioconvert.cpp         |   29 ++++++-
 mythtv/libs/libmyth/audio/audioconvert.h           |   14 +++-
 mythtv/libs/libmyth/audio/audiooutput.cpp          |   95 +++++++++++++++++++-
 mythtv/libs/libmyth/audio/audiooutput.h            |   35 +++++++-
 mythtv/libs/libmyth/audio/audiooutputbase.cpp      |    2 +-
 mythtv/libs/libmyth/audio/audiooutputbase.h        |    6 ++
 mythtv/libs/libmythtv/HLS/httplivestreambuffer.cpp |    2 +-
 mythtv/libs/libmythtv/audioplayer.cpp              |   41 ++++++++-
 mythtv/libs/libmythtv/audioplayer.h                |   12 ++-
 mythtv/libs/libmythtv/avformatdecoder.cpp          |   12 ++--
 mythtv/libs/libmythtv/avformatwriter.cpp           |    9 +-
 mythtv/libs/libmythtv/nuppeldecoder.cpp            |    4 +-
 .../programs/mythtranscode/audioreencodebuffer.cpp |   72 ++-------------
 .../programs/mythtranscode/audioreencodebuffer.h   |    8 +--
 14 files changed, 249 insertions(+), 92 deletions(-)

-- 



More information about the mythtv-commits mailing list