diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-08-22 18:57:05 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-08-22 18:57:05 +0100 |
| commit | 0251d3f2986bf70d4721b7127ca6ddcc9da3b256 (patch) | |
| tree | 5b8bee96ae9bd53c7e78c264cdf08993f3a28e41 /src/dcp.cc | |
| parent | 422c8a63d2368a2e63aee4c391207e3332d1d4c7 (diff) | |
Add basic example; tweak bits and pieces.
Diffstat (limited to 'src/dcp.cc')
| -rw-r--r-- | src/dcp.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -52,7 +52,7 @@ DCP::DCP (string directory, string name, ContentKind content_kind, int fps, int , _fps (fps) , _length (length) { - + filesystem::create_directories (directory); } void @@ -274,8 +274,8 @@ DCP::DCP (string directory) p = (*i)->asset_list->main_stereoscopic_picture; } - assert (_fps == 0 || _fps == p->frame_rate.numerator); - _fps = p->frame_rate.numerator; + assert (_fps == 0 || _fps == p->edit_rate.numerator); + _fps = p->edit_rate.numerator; _length += p->duration; shared_ptr<PictureAsset> picture; |
