summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2014-12-23 19:28:40 +0000
committerjstebbins <[email protected]>2014-12-23 19:28:40 +0000
commit80d43d93c9514df0437480d3054720a803c3b663 (patch)
tree92003dc834af35667dcf978152be0da4eb027ac6
parent17f1d331644d450209d9d6fd55a6acf5ae4e1e84 (diff)
libhb: remove dead code
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6646 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r--libhb/common.c7
-rw-r--r--libhb/scan.c3
2 files changed, 0 insertions, 10 deletions
diff --git a/libhb/common.c b/libhb/common.c
index 4a807fcda..357405c6b 100644
--- a/libhb/common.c
+++ b/libhb/common.c
@@ -2961,10 +2961,6 @@ void hb_title_close( hb_title_t ** _t )
free( t->video_codec_name );
free(t->container_name);
-#if defined(HB_TITLE_JOBS)
- hb_job_close( &t->job );
-#endif
-
free( t );
*_t = NULL;
}
@@ -2998,9 +2994,6 @@ static void job_setup(hb_job_t * job, hb_title_t * title)
job->width = title->geometry.width - title->crop[2] - title->crop[3];
job->height = title->geometry.height - title->crop[0] - title->crop[1];
-#ifdef HB_DEPRECATE_JOB_SETTINGS
- job->anamorphic.keep_display_aspect = 1;
-#endif
hb_geometry_t resultGeo, srcGeo;
hb_geometry_settings_t uiGeo;
diff --git a/libhb/scan.c b/libhb/scan.c
index d57f3ecba..edad5857c 100644
--- a/libhb/scan.c
+++ b/libhb/scan.c
@@ -268,9 +268,6 @@ static void ScanFunc( void * _data )
{
title = hb_list_item( data->title_set->list_title, i );
title->flags |= HBTF_SCAN_COMPLETE;
-#if defined(HB_TITLE_JOBS)
- title->job = hb_job_init( title );
-#endif
}
finish: