* Basic support for selection of audio
and subtitle streams.
+ * Fixes for audio/video sync in some cases.
+
2012-10-09 Carl Hetherington <cth@carlh.net>
* Version 0.55 released.
signal_changed (DCP_FRAMES);
}
+void
+Film::unset_dcp_frames ()
+{
+ {
+ boost::mutex::scoped_lock lm (_state_mutex);
+ _dcp_frames = boost::none;
+ }
+ signal_changed (DCP_FRAMES);
+}
+
void
Film::set_dcp_trim_action (TrimAction a)
{
void set_filters (std::vector<Filter const *>);
void set_scaler (Scaler const *);
void set_dcp_frames (int);
+ void unset_dcp_frames ();
void set_dcp_trim_action (TrimAction);
void set_dcp_ab (bool);
void set_audio_stream (int);
void
FilmEditor::dcp_range_changed (int frames, TrimAction action)
{
- _film->set_dcp_frames (frames);
+ if (frames == 0) {
+ _film->unset_dcp_frames ();
+ } else {
+ _film->set_dcp_frames (frames);
+ }
+
_film->set_dcp_trim_action (action);
}