summaryrefslogtreecommitdiffstats
path: root/libhb/render.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/render.c')
-rw-r--r--libhb/render.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libhb/render.c b/libhb/render.c
index 5577c2f76..05dcdbbf9 100644
--- a/libhb/render.c
+++ b/libhb/render.c
@@ -160,6 +160,16 @@ int renderWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
*buf_out = hb_buffer_init(0);
return HB_WORK_OK;
}
+
+ /*
+ * During the indepth_scan ditch the buffers here before applying filters or attempting to
+ * use the subtitles.
+ */
+ if( job->indepth_scan )
+ {
+ *buf_out = NULL;
+ return HB_WORK_OK;
+ }
/* Push subtitles onto queue just in case we need to delay a frame */
if( in->sub )