summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-12-22 01:17:45 +0100
committerCarl Hetherington <cth@carlh.net>2025-12-22 01:17:45 +0100
commit7b16a669e797cc9d876dfd31eef92905d9121e85 (patch)
treec85347d3978511c40b59b587fa76e8dce109f2da /src/lib
parent34f7a41b24c4fa61b759f2e4b511111268758f71 (diff)
Fix strange default of user_explicit with set_video_frame_rate.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/film.cc2
-rw-r--r--src/lib/film.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc
index 12ab7c8a2..41944677c 100644
--- a/src/lib/film.cc
+++ b/src/lib/film.cc
@@ -1357,7 +1357,7 @@ Film::signal_change(ChangeType type, FilmProperty p)
if (p == FilmProperty::CONTENT) {
if (!_user_explicit_video_frame_rate) {
- set_video_frame_rate(best_video_frame_rate());
+ set_video_frame_rate(best_video_frame_rate(), false);
}
}
diff --git a/src/lib/film.h b/src/lib/film.h
index 1bb60f9d5..5e3a6e0fe 100644
--- a/src/lib/film.h
+++ b/src/lib/film.h
@@ -404,7 +404,7 @@ public:
void set_encrypt_sound(bool);
void set_encrypt_text(bool);
void set_video_bit_rate(VideoEncoding encoding, int64_t);
- void set_video_frame_rate(int rate, bool user_explicit = false);
+ void set_video_frame_rate(int rate, bool user_explicit = true);
void set_audio_channels(int);
void set_three_d(bool);
void set_isdcf_date_today();