]> granicus.if.org Git - handbrake/commitdiff
libhb: remove deprecated job and title fields
authorjstebbins <jstebbins.hb@gmail.com>
Mon, 22 Dec 2014 16:26:47 +0000 (16:26 +0000)
committerjstebbins <jstebbins.hb@gmail.com>
Mon, 22 Dec 2014 16:26:47 +0000 (16:26 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6639 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/common.h

index 17d47a76fc69beaf927b36e75be390e52f04387f..a932a07a8ad170fbd172ed58d06d898f31139946 100644 (file)
@@ -462,31 +462,10 @@ struct hb_job_s
     int             grayscale;      // Black and white encoding
     hb_list_t     * list_filter;
 
-// These job settings should be depricated, but the mac ui is still using them.
-// hb_set_anamorphic_mode2 should be used during job setup which makes
-// these settings unnecessary
-#define HB_DEPRECATE_JOB_SETTINGS
-#ifdef HB_DEPRECATE_JOB_SETTINGS
-    int             crop[4];
-    int             width;
-    int             height;
-    hb_rational_t   par;
-    int             modulus;
-    int             maxWidth;
-    int             maxHeight;
-
-    struct
-    {
-        hb_anamorphic_mode_t  mode;
-        int                   itu_par;
-        int                   keep_display_aspect;
-    } anamorphic;
-#else
     PRIVATE int             crop[4];
     PRIVATE int             width;
     PRIVATE int             height;
     hb_rational_t           par;
-#endif
 
     /* Video settings:
          vcodec:            output codec
@@ -969,11 +948,6 @@ struct hb_title_s
     hb_list_t     * list_subtitle;
     hb_list_t     * list_attachment;
 
-#define HB_TITLE_JOBS
-#if defined(HB_TITLE_JOBS)
-    hb_job_t      * job;
-#endif
-
     uint32_t        flags;
                 // set if video stream doesn't have IDR frames
 #define         HBTF_NO_IDR (1 << 0)