r26266 - trunk/libdvdcss/libdvdcss.c
Author: reimar Date: Fri Mar 21 13:31:47 2008 New Revision: 26266 Log: Ignore if we fail to get disc key, fixes playback of one of my DVDs which claims to be scrambled but actually is not, and always allows to fallback to cached keys. Modified: trunk/libdvdcss/libdvdcss.c Modified: trunk/libdvdcss/libdvdcss.c ============================================================================== --- trunk/libdvdcss/libdvdcss.c (original) +++ trunk/libdvdcss/libdvdcss.c Fri Mar 21 13:31:47 2008 @@ -371,10 +371,8 @@ LIBDVDCSS_EXPORT dvdcss_t dvdcss_open ( if( i_ret < 0 ) { - _dvdcss_close( dvdcss ); - free( dvdcss->psz_device ); - free( dvdcss ); - return NULL; + print_debug( dvdcss, + "could not get disc key" ); } }
On Fri, Mar 21, 2008 at 01:31:48PM +0100, reimar wrote:
Log: Ignore if we fail to get disc key, fixes playback of one of my DVDs which claims to be scrambled but actually is not, and always allows to fallback to cached keys.
Is this fit for upstream? Diego
On Tue, Mar 25, 2008 at 10:02:10AM +0100, Diego Biurrun wrote:
On Fri, Mar 21, 2008 at 01:31:48PM +0100, reimar wrote:
Log: Ignore if we fail to get disc key, fixes playback of one of my DVDs which claims to be scrambled but actually is not, and always allows to fallback to cached keys.
Is this fit for upstream?
Sorry for being late. Yes, it should be, it should not break anything, the worst case is that instead of not playing at all some DVDs now play un-decrypted video (though dvdcss should be able to brute-force it anyway). I also think that this might fix some weird behaviour in that a dd copy from am encrypted DVD might play but after burning it it will stop working, but I did not actually test that... Greetings, Reimar Döffinger
participants (3)
-
Diego Biurrun -
reimar -
Reimar Döffinger