]> git.decadent.org.uk Git - videolink.git/commitdiff
Moved -loop_input option before -i option so that it is actually effective.
authorBen Hutchings <ben@decadent.org.uk>
Sat, 12 Apr 2008 17:34:28 +0000 (17:34 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 2 Nov 2008 23:58:17 +0000 (23:58 +0000)
generate_dvd.cpp

index 06f74b4c64dcd30ed6ef1d10f4651eb7b9cc88c0..e28659e1be467c225738b9044aa7c21b326eee8a 100644 (file)
@@ -248,8 +248,8 @@ void dvd_generator::generate_menu_vob(unsigned index,
            "ffmpeg -f image2 -vcodec png"
            " -r " << frame_params_.rate_numer <<
            "/" << frame_params_.rate_denom <<
-           " -i " << background_name <<
-           " -loop_input -t " << menu_duration_seconds(frame_params_) <<
+           " -loop_input -i " << background_name <<
+           " -t " << menu_duration_seconds(frame_params_) <<
            " -target " << frame_params_.common_name <<  "-dvd"
            " -vcodec mpeg2video -aspect 4:3 -an -y /dev/stdout";
     }