Access externalMedia etc from Clip #1616
-
Hi, I'm looking at adding support for opentimelineio in xStudio, using the C++ interface. I'm trying to access the media paths on the Clip objects via the media_references() function, this return's a list of mediaReferences, but I'm unsure how I determine / access the real objects. I'm guessing the underlying classes are MissingReference ExternalReference etc. So I need to workout what it actual is and then dynamic_cast it ? There doesn't seem to be any examples in the code showing this. Any help would be most appreciated ! cheers |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, you can dynamically cast the media references something like this:
Here I am using |
Beta Was this translation helpful? Give feedback.
Yes, you can dynamically cast the media references something like this:
Here I am using
clip->media_reference()
…