We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5787b6 commit 64d7a39Copy full SHA for 64d7a39
tests/test_clip.cpp
@@ -289,17 +289,7 @@ main(int argc, char** argv)
289
tests.add_test("test_error_ptr_null_no_media", [] {
290
using namespace otio;
291
292
- // tests for no image bounds and no media reference on clip
293
- otio::ErrorStatus status;
294
- SerializableObject::Retainer<> so =
295
- SerializableObject::from_json_string(
296
- R"(
297
- {
298
- "OTIO_SCHEMA": "Clip.1"
299
- })",
300
- &status);
301
-
302
- Clip* clip = dynamic_cast<Clip*>(so.value);
+ SerializableObject::Retainer<Clip> clip(new Clip);
303
304
// set media reference to empty
305
Clip::MediaReferences empty_mrs;
0 commit comments