OSDN Git Service

LinGui: first cut at anamorphic picture settings enhancements
[handbrake-jp/handbrake-jp-git.git] / gtk / src / makedeps.c
index 87ab6ac..26bf0fb 100644 (file)
@@ -25,7 +25,6 @@ static dependency_t dep_map[] =
        {"title", "picture_tab", "none", TRUE, FALSE},
        {"title", "chapters_label", "none", TRUE, FALSE},
        {"title", "chapters_tab", "none", TRUE, FALSE},
-       {"title", "title", "none", TRUE, FALSE},
        {"title", "start_chapter", "none", TRUE, FALSE},
        {"title", "end_chapter", "none", TRUE, FALSE},
        {"vquality_type_bitrate", "VideoAvgBitrate", "TRUE", FALSE, FALSE},
@@ -48,17 +47,9 @@ static dependency_t dep_map[] =
        {"PictureAutoCrop", "PictureBottomCrop", "FALSE", FALSE, FALSE},
        {"PictureAutoCrop", "PictureLeftCrop", "FALSE", FALSE, FALSE},
        {"PictureAutoCrop", "PictureRightCrop", "FALSE", FALSE, FALSE},
-       {"autoscale", "scale_width", "FALSE", FALSE, FALSE},
-       {"autoscale", "scale_height", "FALSE", FALSE, FALSE},
-       {"anamorphic", "PictureKeepRatio", "FALSE", FALSE, FALSE},
-       // "CHECK" is a dummy value that forces scale_height deps to
-       // be re-evaluated whenever anamorphic changes
-       {"anamorphic", "scale_height", "CHECK", TRUE, FALSE},
-       {"PictureKeepRatio", "scale_height", "FALSE", FALSE, FALSE},
        {"VideoEncoder", "x264_tab", "x264", FALSE, FALSE},
        {"VideoEncoder", "x264_tab_label", "x264", FALSE, FALSE},
        {"VideoEncoder", "Mp4iPodCompatible", "x264", FALSE, FALSE},
-       {"VideoEncoder", "directqp", "x264|ffmpeg", FALSE, FALSE},
        {"AudioEncoder", "AudioBitrate", "ac3|dts", TRUE, FALSE},
        {"AudioEncoder", "AudioSamplerate", "ac3|dts", TRUE, FALSE},
        {"AudioEncoder", "AudioMixdown", "ac3|dts", TRUE, FALSE},
@@ -66,8 +57,13 @@ static dependency_t dep_map[] =
        {"x264_bframes", "x264_weighted_bframes", "0", TRUE, FALSE},
        {"x264_bframes", "x264_bpyramid", "<2", TRUE, FALSE},
        {"x264_bframes", "x264_direct", "0", TRUE, FALSE},
+       {"x264_bframes", "x264_b_adapt", "0", TRUE, FALSE},
        {"x264_refs", "x264_mixed_refs", "<2", TRUE, FALSE},
        {"x264_cabac", "x264_trellis", "TRUE", FALSE, FALSE},
+       {"x264_subme", "x264_psy_rd", "<6", TRUE, FALSE},
+       {"x264_subme", "x264_psy_trell", "<6", TRUE, FALSE},
+       {"x264_cabac", "x264_psy_trell", "TRUE", FALSE, FALSE},
+       {"x264_trellis", "x264_psy_trell", "0", TRUE, FALSE},
        {"ChapterMarkers", "chapters_list", "TRUE", FALSE, FALSE},
        {"use_source_name", "chapters_in_destination", "TRUE", FALSE, FALSE},
        {"use_source_name", "title_no_in_destination", "TRUE", FALSE, FALSE},
@@ -102,7 +98,7 @@ main(gint argc, gchar *argv[])
                }
                ghb_dict_insert(top, g_strdup(name), array);
        }
-       ghb_plist_write_file("widget_deps", top);
+       ghb_plist_write_file("widget.deps", top);
 
        // reverse map
        top = ghb_dict_value_new();
@@ -134,7 +130,7 @@ main(gint argc, gchar *argv[])
                }
                ghb_dict_insert(top, g_strdup(name), array);
        }
-       ghb_plist_write_file("widget_reverse_deps", top);
+       ghb_plist_write_file("widget_reverse.deps", top);
        return 0;
 }