]> granicus.if.org Git - handbrake/commitdiff
modify the scan path without hardware decoder
authorhandbrake <no-reply@handbrake.fr>
Tue, 5 Feb 2013 06:12:34 +0000 (06:12 +0000)
committerhandbrake <no-reply@handbrake.fr>
Tue, 5 Feb 2013 06:12:34 +0000 (06:12 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5240 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/stream.c

index 0790394a805817b2ac7a6059683712d2dacca1c6..3ae2b195160c2cd3270c36d92b3c6d585b3c2921 100644 (file)
@@ -611,7 +611,7 @@ static int hb_stream_get_type(hb_stream_t *stream)
     if ( fread(buf, 1, sizeof(buf), stream->file_handle) == sizeof(buf) )
     {
 #ifdef USE_HWD
-        if ( hb_get_gui_info(&hb_gui, 1) || (hb_get_gui_info(&hb_gui, 3) == 0) )
+        if ( hb_get_gui_info(&hb_gui, 1) )
             return 0;
 #endif
         int psize;