summaryrefslogtreecommitdiff
path: root/src/subtitle_asset.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/subtitle_asset.cc')
-rw-r--r--src/subtitle_asset.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/subtitle_asset.cc b/src/subtitle_asset.cc
index 1cd4fc07..9203f508 100644
--- a/src/subtitle_asset.cc
+++ b/src/subtitle_asset.cc
@@ -567,8 +567,11 @@ vector<shared_ptr<const Subtitle>>
SubtitleAsset::subtitles_during (Time from, Time to, bool starting) const
{
vector<shared_ptr<const Subtitle>> s;
+ // std::cout << "checkin " << _subtitles.size() << "\n";
for (auto i: _subtitles) {
+ // std::cout << "starting=" << starting << " " << from << " " << to << " " << i->in() << " " << i->out() << "\n";
if ((starting && from <= i->in() && i->in() < to) || (!starting && i->out() >= from && i->in() <= to)) {
+ std::cout << "given it up\n";
s.push_back (i);
}
}