vtl: update to ffmpeg v1.2.1 [lib]x264 option.
authorRobin Gareus <robin@gareus.org>
Sun, 8 Sep 2013 16:26:02 +0000 (18:26 +0200)
committerRobin Gareus <robin@gareus.org>
Sun, 8 Sep 2013 16:27:41 +0000 (18:27 +0200)
gtk2_ardour/export_video_dialog.cc

index cd45bb368ed25179f0e3588b1032ea53d3a263e4..c7ef6efd9ae344b972e12ba5a0f212591a7dc432 100644 (file)
@@ -257,8 +257,7 @@ ExportVideoDialog::ExportVideoDialog (PublicEditor& ed, Session* s)
        video_codec_combo.append_text("mjpeg");
        video_codec_combo.append_text("mpeg2video");
        video_codec_combo.append_text("mpeg4");
-       video_codec_combo.append_text("x264 (baseline)");
-       video_codec_combo.append_text("x264 (hq)");
+       video_codec_combo.append_text("h264");
        video_codec_combo.append_text("vpx (webm)");
        video_codec_combo.append_text("copy");
        video_codec_combo.set_active(4);
@@ -612,13 +611,8 @@ ExportVideoDialog::encode_pass (int pass)
                ffs["-strict"] = "-2";
        }
 
-       if (video_codec_combo.get_active_text() == "x264 (hq)" ) {
+       if (video_codec_combo.get_active_text() == "h264" ) {
                ffs["-vcodec"] = "libx264";
-               ffs["-vprofile"] = "high";
-       }
-       else if (video_codec_combo.get_active_text() == "x264 (baseline)" ) {
-               ffs["-vcodec"] = "libx264";
-               ffs["-vpre"] = "baseline";
        }
        else if (video_codec_combo.get_active_text() == "vpx (webm)" ) {
                ffs["-vcodec"] = "libvpx";