summaryrefslogtreecommitdiff
path: root/test/reels_test.cc
AgeCommit message (Collapse)Author
2020-03-11Improve and fix some tests.Carl Hetherington
2020-03-11Get some better errors when verification-based tests fail.Carl Hetherington
2020-03-11Add a test for short pieces of content amongst longer.Carl Hetherington
2020-03-11Failing test for reels with a short length (in bytes) specified.Carl Hetherington
2020-03-11Add a (failing) test for reels created between two otherCarl Hetherington
pieces of content.
2020-03-11Add failing test for one short-reel possibility.Carl Hetherington
2019-10-31Make separate reels for parts of the timeline with no video whenCarl Hetherington
we are in REEL_TYPE_BY_VIDEO_CONTENT mode. This fixes VF creation with gaps. Also the implementation of Film::reels() is cleaner now.
2019-10-31Fix incorrect reels when the first content is not at time 0.Carl Hetherington
With REELTYPE_BY_VIDEO_CONTENT the first reel would not start at 0.
2019-10-16Fix assertion failure on making a VF, in certain circumstances.Carl Hetherington
These circumstances were a VF which refers to at least one complete reel of audio from a OV before adding more audio of its own. Forward-porter from 392d675f5799671abbcf1a9a47820321bcbdcca2 in master.
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2019-01-21Stop jobs silently failing in tests.Carl Hetherington
2018-11-21Take Film pointer out of Content.Carl Hetherington
2018-07-23More automated renaming.Carl Hetherington
ActiveCaptions -> ActiveText BitmapCaption -> BitmapText ContentCaption -> ContentText ContentTextCaption -> ContentStringText TextCaptionFileContent -> StringTextFileContent TextCaptionFileDecoder -> StringTextFileDecoder TextCaptionFile -> StringTextFile TextCaption -> StringText PlayerCaption -> PlayerText CaptionContent -> TextContent CaptionDecoder -> TextDecoder CaptionPanel -> TextPanel CaptionView -> TextView CaptionAppearanceDialog -> SubtitleAppearanceDialog CaptionType -> TextType
2018-07-19Reword again: Text -> Caption and Plain -> Text.Carl Hetherington
sed -i "s/ActiveText/ActiveCaptions/g" src/lib/*.{cc,h} sed -i "s/active_text.h/active_captions.h/g" src/lib/*.{cc,h} sed -i "s/active_text.cc/active_captions.cc/g" src/lib/wscript mv src/lib/active_text.cc src/lib/active_captions.cc mv src/lib/active_text.h src/lib/active_captions.h sed -i "s/PlainTextFileContent/TextCaptionFileContent/g" src/lib/*.{cc,h} src/wx/*.cc sed -i "s/PlainTextFile/TextCaptionFile/g" src/lib/*.{cc,h} src/wx/*.cc sed -i "s/plain_text_file_content/text_caption_file_content/g" src/lib/*.{cc,h} src/lib/wscript src/wx/*.{cc,h} test/*.cc mv src/lib/plain_text_file_content.cc src/lib/text_caption_file_content.cc mv src/lib/plain_text_file_content.h src/lib/text_caption_file_content.h sed -i "s/PlainTextFileDecoder/TextCaptionFileDecoder/g" src/lib/*.{cc,h} sed -i "s/plain_text_file_decoder/text_caption_file_decoder/g" src/lib/*.{cc,h} src/lib/wscript src/wx/*.{cc,h} mv src/lib/plain_text_file_decoder.cc src/lib/text_caption_file_decoder.cc mv src/lib/plain_text_file_decoder.h src/lib/text_caption_file_decoder.h sed -i "s/PlayerText/PlayerCaption/g" src/lib/*.{cc,h} sed -i "s/player_text.cc/player_caption.cc/g" src/lib/wscript sed -i "s/player_text.h/player_caption.h/g" src/lib/*.{cc,h} mv src/lib/player_text.cc src/lib/player_caption.cc mv src/lib/player_text.h src/lib/player_caption.h sed -i "s/ContentPlainText/ContentTextCaption/g" src/lib/*.{cc,h} src/wx/*.{cc,h} sed -i "s/ContentBitmapText/ContentBitmapCaption/g" src/lib/*.{cc,h} src/wx/*.{cc,h} sed -i "s/PlainText/TextCaption/g" src/lib/*.{cc,h} test/*.cc sed -i "s/plain_text.h/text_caption.h/g" src/lib/*.{cc,h} mv src/lib/plain_text.h src/lib/text_caption.h
2018-07-19PlainText -> PlainTextFile.Carl Hetherington
2018-07-19More renaming.Carl Hetherington
2018-07-19More renaming; text -> plain.Carl Hetherington
sed -i "s/TextTextContent/PlainText/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc sed -i "s/text_text/plain_text/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc src/lib/wscript mv src/lib/text_text_content.cc src/lib/plain_text_content.cc mv src/lib/text_text_content.h src/lib/plain_text_content.h mv src/lib/text_text_decoder.cc src/lib/plain_text_decoder.cc mv src/lib/text_text_decoder.h src/lib/plain_text_decoder.h
2018-07-19Rename Subtitle -> TextCarl Hetherington
sed -i "s/SubtitleContent/TextContent/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc sed -i "s/SubtitleDecoder/TextDecoder/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc sed -i "s/subtitle_content/text_content/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc src/lib/wscript src/wx/wscript sed -i "s/subtitle_decoder/text_decoder/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/wx/*.h src/tools/*.cc test/*.cc src/lib/wscript mv src/lib/subtitle_decoder.cc src/lib/text_decoder.cc mv src/lib/subtitle_decoder.h src/lib/text_decoder.h mv src/lib/subtitle_content.cc src/lib/text_content.cc mv src/lib/subtitle_content.h src/lib/text_content.h mv src/lib/dcp_subtitle_decoder.cc src/lib/dcp_text_decoder.cc mv src/lib/dcp_subtitle_decoder.h src/lib/dcp_text_decoder.h mv src/lib/dcp_subtitle_content.cc src/lib/dcp_text_content.cc mv src/lib/dcp_subtitle_content.h src/lib/dcp_text_content.h mv src/lib/text_subtitle_content.cc src/lib/text_text_content.cc mv src/lib/text_subtitle_content.h src/lib/text_text_content.h mv src/lib/text_subtitle_decoder.cc src/lib/text_text_decoder.cc mv src/lib/text_subtitle_decoder.h src/lib/text_text_decoder.h mv src/wx/timeline_subtitle_content_view.cc src/wx/timeline_text_content_view.cc mv src/wx/timeline_subtitle_content_view.h src/wx/timeline_text_content_view.h
2018-07-16Fix unit tests since sequencing after trim was added.Carl Hetherington
2018-07-16Fix previous.Carl Hetherington
2018-07-16Test output name tweaks.Carl Hetherington
2018-05-23Adapt reels_test for 4a8151a.Carl Hetherington
2018-02-02A number of unit test fixes.Carl Hetherington
2017-12-29Comment typo.Carl Hetherington
2017-12-29Use 24fps for a test.Carl Hetherington
2017-12-27Add another failing reels test.Carl Hetherington
2017-07-14Fix test for new rounding of video content positions on timeline.Carl Hetherington
2017-07-12Don't emit black to fill up to a frame that we're not going to emit.Carl Hetherington
2017-07-12Add some tests; fix failure to make DCP when there is a bit of audio right ↵Carl Hetherington
at the end of the film (with no corresponding video).
2017-07-11Add failing test for reels with audio hanging over the end of the last bit ↵Carl Hetherington
of video.
2017-06-11Fix incorrect audio MXFs when writing multiple reels.Carl Hetherington
2017-05-19Ensure there are no errors from jobs.Carl Hetherington
2017-04-19Various Doxygen fixes.Carl Hetherington
2017-01-04Rename Time::round_up to Time::ceil.Carl Hetherington
2016-09-21Disallow referencing DCPs of different frame rates to the project.Carl Hetherington
Fix reel calculations of DCPContent under trim.
2016-08-12Remove all use of stringstream in an attempt to fixCarl Hetherington
the suspected thread-unsafe crash bugs on OS X.
2016-07-16Remove unused method.Carl Hetherington
2016-06-21Revert "Use make_shared<>."Carl Hetherington
Support for this seems to vary wildly across DoM's build targets. Stuff that builds on 16.04 won't build on 14.04, for example. Seems to not be worth the hassle now. This reverts commit 5a5324ed3a381a86dfe0a6e3932c1d58fdcd596f.
2016-06-21Use make_shared<>.Carl Hetherington
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2016-05-18Rename video/audio/subtitle part methods.Carl Hetherington
2016-05-18Split audio; builds.Carl Hetherington
2016-02-24Remove debug code.Carl Hetherington
2016-02-12Rename SubRip -> TextSubtitle.Carl Hetherington
2015-11-27Fix incorrect multi-reel subtitle timings (#760) and add test.Carl Hetherington
2015-10-26Fix test to reflect the fact that reel lengths are rounded to frame boundaries.Carl Hetherington
2015-10-19Fix by-video-content reel split when there is content after the last video ↵Carl Hetherington
content.
2015-10-13Some attempts to block referencing of DCPs when it is not possible.Carl Hetherington