[libdvdcss-devel] [PATCH] gracefully continue if GetBusKey fails

Diego Biurrun diego at biurrun.de
Sun May 9 13:46:32 CEST 2010


*ping*

On Thu, Apr 29, 2010 at 10:56:52AM +0200, Diego Biurrun wrote:
> Reimar just committed the attached patch with the following log message
> to MPlayer:
> 
> ------------------------------------------------------------------------
> r31094 | reimar | 2010-04-25 18:39:39 +0200 (Sun, 25 Apr 2010) | 2 lines
> Changed paths:
>    M /trunk/libdvdcss/css.c
> 
> Try other methods also if GetBusKey fails instead of failing completely.
> ------------------------------------------------------------------------
> 
> I think it's fit for upstream, so here it is, please apply.
> 
> --- src/css.c	(revision 230)
> +++ src/css.c	(working copy)
> @@ -425,7 +425,7 @@
>          /* We need to authenticate again every time to get a new session key */
>          if( GetBusKey( dvdcss ) < 0 )
>          {
> -            return -1;
> +            i_ret = -1;
>          }

Come on guys, this should be quick to review and apply..

Diego


More information about the libdvdcss-devel mailing list