From 67775a6d0d28131b98ae284c7be23d79ccdab685 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Tue, 14 Apr 2020 23:11:08 +0200 Subject: Fix Empty/Player behaviour when using a playlist that is not the same as the Film's. Previously Empty would use the length of the film for its end point. Now it takes a Playlist (rather than a list of Pieces) and uses the length of that playlist for its end point. This fixes #1543, in which single-content audio analysis jobs would run for the whole length of the film, rather than the length of the content, producing strange graphs and incorrect progress reports. --- src/wx/audio_dialog.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wx') diff --git a/src/wx/audio_dialog.h b/src/wx/audio_dialog.h index e866aca3f..3a02fd87f 100644 --- a/src/wx/audio_dialog.h +++ b/src/wx/audio_dialog.h @@ -49,6 +49,7 @@ private: boost::shared_ptr _analysis; boost::weak_ptr _film; + /** content to analyse, or 0 to analyse all the film's content */ boost::weak_ptr _content; int _channels; boost::shared_ptr _playlist; -- cgit v1.2.3