summaryrefslogtreecommitdiffstats
path: root/libhb/hb.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/hb.c')
-rw-r--r--libhb/hb.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libhb/hb.c b/libhb/hb.c
index 8a1ec3b1e..5a71ee7f2 100644
--- a/libhb/hb.c
+++ b/libhb/hb.c
@@ -1468,6 +1468,15 @@ void hb_add( hb_handle_t * h, hb_job_t * job )
job_copy->file = strdup( job->file );
if ( job->advanced_opts )
job_copy->advanced_opts = strdup( job->advanced_opts );
+ if ( job->x264_preset )
+ job_copy->x264_preset = strdup( job->x264_preset );
+ if ( job->x264_tune )
+ job_copy->x264_tune = strdup( job->x264_tune );
+ if ( job->x264_profile )
+ job_copy->x264_profile = strdup( job->x264_profile );
+ if ( job->h264_level )
+ job_copy->h264_level = strdup( job->h264_level );
+
job_copy->h = h;
job_copy->pause = h->pause_lock;