]> granicus.if.org Git - handbrake/commitdiff
libhb: remove dead code
authorjstebbins <jstebbins.hb@gmail.com>
Tue, 23 Dec 2014 19:28:40 +0000 (19:28 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Tue, 23 Dec 2014 19:28:40 +0000 (19:28 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6646 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/common.c
libhb/scan.c

index 4a807fcda4d012054d934c6501dc8b8031cf4b55..357405c6b656682a8288f335e1242f790dc0cd69 100644 (file)
@@ -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;
index d57f3ecba33503bb1467236f4bac66aa5aec6716..edad5857c6bfdc5e2c6b666a14472a01ebdf625a 100644 (file)
@@ -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: