OSDN Git Service

Getting rid of dvd open failure error, it is not an error when
authoreddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 19 Jun 2008 01:21:38 +0000 (01:21 +0000)
committereddyg <eddyg@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Thu, 19 Jun 2008 01:21:38 +0000 (01:21 +0000)
the input is a file.

git-svn-id: svn://localhost/HandBrake/trunk@1529 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/dvd.c

index d2a8d72..3cfc1b9 100644 (file)
@@ -83,7 +83,10 @@ hb_dvd_t * hb_dvd_init( char * path )
     /* Open device */
     if( !( d->reader = DVDOpen( path ) ) )
     {
-        hb_error( "dvd: DVDOpen failed (%s)", path );
+        /*
+         * Not an error, may be a stream - which we'll try in a moment.
+         */
+        hb_log( "dvd: not a dvd - trying as a stream/file instead" );
         goto fail;
     }