]> granicus.if.org Git - handbrake/commitdiff
linux build fix
authorhandbrake <no-reply@handbrake.fr>
Tue, 21 May 2013 12:20:28 +0000 (12:20 +0000)
committerhandbrake <no-reply@handbrake.fr>
Tue, 21 May 2013 12:20:28 +0000 (12:20 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5494 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/sync.c

index 09524830390a0f5e947ca63f7404c87c0e14209f..6b2f65b90310b34074bae66b28580b3c6a18da9c 100644 (file)
@@ -343,7 +343,7 @@ int syncVideoWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
             hb_unlock( pv->common->mutex );
 
             UpdateSearchState( w, next_start );
-
+#ifdef USE_QSV
             // as we drop prepared decode, we need to reclaim resources
             if( job && job->vcodec == HB_VCODEC_QSV_H264 && job->qsv )
             {
@@ -366,6 +366,7 @@ int syncVideoWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
                     av_qsv_flush_stages( qsv->pipes, &received_item );
                 }
             }
+#endif
             hb_buffer_close( &next );
 
             return HB_WORK_OK;