Skip to content

Commit

Permalink
Internal changes for DAWFileKit updates
Browse files Browse the repository at this point in the history
  • Loading branch information
orchetect committed Nov 20, 2023
1 parent d7f6541 commit a8a320a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/MarkersExtractor/MarkersExtractor Metadata.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ extension MarkersExtractor {
init() { }

var contextBuilder: FinalCutPro.FCPXML.ElementContextClosure {
{ xmlLeaf, resources, tools in
{ xmlLeaf, breadcrumbs, resources, tools in
var dict: FinalCutPro.FCPXML.ElementContext = [:]

dict[.resource] = tools.resource
Expand Down
4 changes: 4 additions & 0 deletions Tests/MarkersExtractorTests/BasicMarkersSubframesTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ final class BasicMarkersSubframesTests: XCTestCase {
let extractor = MarkersExtractor(settings)
let markers = try extractor.extractMarkers().sorted()

// 24 includes all markers, including out of bounds and hidden from the timeline.
// this may change in future.
XCTAssertEqual(markers.count, 24)

let lastMarker = try XCTUnwrap(markers.last)
XCTAssertEqual(lastMarker.positionTimecodeString(format: [.showSubFrames]), "00:00:28:19.25")
}
Expand Down

0 comments on commit a8a320a

Please sign in to comment.