summaryrefslogtreecommitdiffstats
path: root/libhb/render.c
diff options
context:
space:
mode:
authorvan <[email protected]>2008-04-14 08:27:59 +0000
committervan <[email protected]>2008-04-14 08:27:59 +0000
commit16b6e49fdb0b999b1498dc9c596d3df6b6fa83ea (patch)
tree2150d73885c466b55b28fc1caf63b12b2b50e7cc /libhb/render.c
parentd3aeb74cdf94f70b643da897dfb666d81a743817 (diff)
Fix the automatic subtitle scan that I broke with r1412.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1413 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/render.c')
-rw-r--r--libhb/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libhb/render.c b/libhb/render.c
index d12937e7a..ae326f63e 100644
--- a/libhb/render.c
+++ b/libhb/render.c
@@ -214,8 +214,8 @@ int renderWork( hb_work_object_t * w, hb_buffer_t ** buf_in,
* to the next stage as well. Note that this will result in us
* losing the current contents of the delay queue.
*/
- *buf_out = hb_buffer_init(0);
- return HB_WORK_OK;
+ *buf_out = job->indepth_scan? NULL : hb_buffer_init(0);
+ return HB_WORK_DONE;
}
/*