summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/work.c33
1 files changed, 7 insertions, 26 deletions
diff --git a/libhb/work.c b/libhb/work.c
index cf34356bc..27fe2e7a0 100644
--- a/libhb/work.c
+++ b/libhb/work.c
@@ -1537,33 +1537,14 @@ static void do_job(hb_job_t *job)
hb_reduce(&job->vrate.num, &job->vrate.den,
job->vrate.num, job->vrate.den);
-#if HB_PROJECT_FEATURE_QSV
-#if 0 // TODO: re-implement QSV zerocopy path
- if (hb_qsv_decode_is_enabled(job) && (job->vcodec & HB_VCODEC_QSV_MASK))
- {
- job->fifo_mpeg2 = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE );
- job->fifo_raw = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE );
- if (!job->indepth_scan)
- {
- // When doing subtitle indepth scan, the pipeline ends at sync
- job->fifo_sync = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE );
- job->fifo_render = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE );
- job->fifo_mpeg4 = hb_fifo_init( FIFO_MINI, FIFO_MINI_WAKE );
- }
- }
- else
-#endif // QSV zerocopy path
-#endif
+ job->fifo_mpeg2 = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE );
+ job->fifo_raw = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE );
+ if (!job->indepth_scan)
{
- job->fifo_mpeg2 = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE );
- job->fifo_raw = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE );
- if (!job->indepth_scan)
- {
- // When doing subtitle indepth scan, the pipeline ends at sync
- job->fifo_sync = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE );
- job->fifo_render = NULL; // Attached to filter chain
- job->fifo_mpeg4 = hb_fifo_init( FIFO_LARGE, FIFO_LARGE_WAKE );
- }
+ // When doing subtitle indepth scan, the pipeline ends at sync
+ job->fifo_sync = hb_fifo_init( FIFO_SMALL, FIFO_SMALL_WAKE );
+ job->fifo_render = NULL; // Attached to filter chain
+ job->fifo_mpeg4 = hb_fifo_init( FIFO_LARGE, FIFO_LARGE_WAKE );
}
result = sanitize_audio(job);