From d379785dd864ba99123ea49134e781436c1e895c Mon Sep 17 00:00:00 2001 From: eddyg Date: Thu, 19 Jun 2008 01:21:38 +0000 Subject: [PATCH 1/1] Getting rid of dvd open failure error, it is not an error when the input is a file. git-svn-id: svn://localhost/HandBrake/trunk@1529 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/dvd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libhb/dvd.c b/libhb/dvd.c index d2a8d72f..3cfc1b91 100644 --- a/libhb/dvd.c +++ b/libhb/dvd.c @@ -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; } -- 2.11.0