]> granicus.if.org Git - handbrake/commitdiff
CLI: add use_hwd code that went missing back into test.c
authorsr55 <sr55.hb@outlook.com>
Tue, 18 Nov 2014 21:57:24 +0000 (21:57 +0000)
committersr55 <sr55.hb@outlook.com>
Tue, 18 Nov 2014 21:57:24 +0000 (21:57 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6528 b64f7644-9d1e-0410-96f1-a4d463321fa5

test/test.c

index cf73c614e210468f34972f25fcf2eb41d2b9f353..df5a05c9cb678a4ed92504b4001f071bcc28c628 100644 (file)
@@ -1720,6 +1720,11 @@ static int HandleEvents( hb_handle_t * h )
                 hb_add_filter( job, filter, rotate_opt);
             }
 
+                       if (use_hwd)
+            {
+                job->use_hwd = use_hwd;
+                       }
+
             hb_geometry_t srcGeo, resultGeo;
             hb_ui_geometry_t uiGeo;