From: handbrake Date: Tue, 21 May 2013 12:20:28 +0000 (+0000) Subject: linux build fix X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7d33d756343a9b7a045be06bd230c80e5d7dc641;p=handbrake linux build fix git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5494 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/libhb/sync.c b/libhb/sync.c index 095248303..6b2f65b90 100644 --- a/libhb/sync.c +++ b/libhb/sync.c @@ -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;