[mythtv-commits] mythtv branch master updated by stuartm. v0.28-pre-74-g1ff446a

Git Repo Owner noreply at mythtv.org
Sun Sep 8 10:05:28 UTC 2013


The branch, master has been updated on the
mythtv repository by gitolite user stuartm.
       via  1ff446ad093064ff365d60561224231b6c3e7c5b (commit)
      from  a82291ba8a95eeb6b8c42f0287884ea997fae4e1 (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 1ff446ad093064ff365d60561224231b6c3e7c5b
Author:    Lawrence Rust <lvr at softsystem.co.uk> at Sat, 26 Nov 2011 21:22:43 +0100
Committer: Stuart Morgan <smorgan at mythtv.org> at Sun, 8 Sep 2013 11:03:13 +0100
URL:       http://code.mythtv.org/cgit/mythtv/commit/?id=1ff446ad093064ff365d60561224231b6c3e7c5b

RingBuffer: Play encrypted dvd's and iso images from storage groups
This change enables the backend to use libdvdcss to decrypt dvd's and iso
images before sending the blocks over the myth protocol to the frontend.

This replaces the current POSIX file read in RingBuffer with a class like
DVDRingBufferPriv that uses libdvdread to decrypt the raw blocks.

The real heart of the change is in creating a list of blocks that might need
decrypting and then in safe_read() lookup the blocks requested in that list
and decrypt them if necessary.  Unfortunately the lookup is necessary since
if a block is unencrypted, like ifo files, then the decryption operation
corrupts the data.

Closes #11602

Signed-off-by: Lawrence Rust <lvr at softsystem.co.uk>
Signed-off-by: Stuart Morgan <smorgan at mythtv.org>



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

Summary of changes:
 mythtv/libs/libmythdvdnav/dvdread/dvd_input.c  |   10 +-
 mythtv/libs/libmythdvdnav/dvdread/dvd_input.h  |    3 +-
 mythtv/libs/libmythdvdnav/dvdread/dvd_reader.c |   10 +-
 mythtv/libs/libmythtv/dvdstream.cpp            |  283 ++++++++++++++++++++++++
 mythtv/libs/libmythtv/dvdstream.h              |   51 +++++
 mythtv/libs/libmythtv/libmythtv.pro            |    4 +
 mythtv/libs/libmythtv/ringbuffer.cpp           |   12 +
 7 files changed, 362 insertions(+), 11 deletions(-)
 create mode 100644 mythtv/libs/libmythtv/dvdstream.cpp
 create mode 100644 mythtv/libs/libmythtv/dvdstream.h

-- 



More information about the mythtv-commits mailing list