Skip to content

Add support for passing vectors of paths into MediaInfoList#1360

Open
hjmallon wants to merge 1 commit into
MediaArea:masterfrom
hjmallon:feature/listsoffiles
Open

Add support for passing vectors of paths into MediaInfoList#1360
hjmallon wants to merge 1 commit into
MediaArea:masterfrom
hjmallon:feature/listsoffiles

Conversation

@hjmallon
Copy link
Copy Markdown
Contributor

This adds an Open call for a vector of file paths.

@hjmallon hjmallon force-pushed the feature/listsoffiles branch from d2cdd0d to f1fcd65 Compare February 23, 2021 18:21
@cjee21
Copy link
Copy Markdown
Contributor

cjee21 commented May 9, 2026

Looks inefficient, creating a vector of one element when opening with a string. What about calling the existing string open in a loop for the vector one instead. Existing apps would be looping the string call when opening multiple files so this change will cause creation of many vectors with single element. The vector call cannot be exposed in the C API so not all apps can migrate to vector call too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants