@@ -152,13 +152,13 @@ Clip::Clip(ReaderBase* new_reader) : resampler(NULL), audio_cache(NULL), reader(
152152}
153153
154154// Constructor with filepath
155- Clip::Clip (string path) : resampler(NULL ), audio_cache(NULL ), reader(NULL ), allocated_reader(NULL )
155+ Clip::Clip (std:: string path) : resampler(NULL ), audio_cache(NULL ), reader(NULL ), allocated_reader(NULL )
156156{
157157 // Init all default settings
158158 init_settings ();
159159
160160 // Get file extension (and convert to lower case)
161- string ext = get_file_extension (path);
161+ std:: string ext = get_file_extension (path);
162162 transform (ext.begin (), ext.end (), ext.begin (), ::tolower);
163163
164164 // Determine if common video formats
@@ -354,7 +354,7 @@ std::shared_ptr<Frame> Clip::GetFrame(int64_t requested_frame)
354354}
355355
356356// Get file extension
357- string Clip::get_file_extension (string path)
357+ std:: string Clip::get_file_extension (std:: string path)
358358{
359359 // return last part of path
360360 return path.substr (path.find_last_of (" ." ) + 1 );
@@ -645,14 +645,14 @@ std::shared_ptr<Frame> Clip::GetOrCreateFrame(int64_t number)
645645}
646646
647647// Generate JSON string of this object
648- string Clip::Json () {
648+ std:: string Clip::Json () {
649649
650650 // Return formatted string
651651 return JsonValue ().toStyledString ();
652652}
653653
654654// Get all properties for a specific frame
655- string Clip::PropertiesJSON (int64_t requested_frame) {
655+ std:: string Clip::PropertiesJSON (int64_t requested_frame) {
656656
657657 // Generate JSON properties list
658658 Json::Value root;
@@ -782,7 +782,7 @@ Json::Value Clip::JsonValue() {
782782 root[" effects" ] = Json::Value (Json::arrayValue);
783783
784784 // loop through effects
785- list<EffectBase*>::iterator effect_itr;
785+ std:: list<EffectBase*>::iterator effect_itr;
786786 for (effect_itr=effects.begin (); effect_itr != effects.end (); ++effect_itr)
787787 {
788788 // Get clip object from the iterator
@@ -798,14 +798,14 @@ Json::Value Clip::JsonValue() {
798798}
799799
800800// Load JSON string into this object
801- void Clip::SetJson (string value) {
801+ void Clip::SetJson (std:: string value) {
802802
803803 // Parse JSON string into JSON objects
804804 Json::Value root;
805805 Json::CharReaderBuilder rbuilder;
806806 Json::CharReader* reader (rbuilder.newCharReader ());
807807
808- string errors;
808+ std:: string errors;
809809 bool success = reader->parse ( value.c_str (),
810810 value.c_str () + value.size (), &root, &errors );
811811 delete reader;
@@ -943,7 +943,7 @@ void Clip::SetJsonValue(Json::Value root) {
943943 }
944944
945945 // Create new reader (and load properties)
946- string type = root[" reader" ][" type" ].asString ();
946+ std:: string type = root[" reader" ][" type" ].asString ();
947947
948948 if (type == " FFmpegReader" ) {
949949
@@ -1025,7 +1025,7 @@ void Clip::RemoveEffect(EffectBase* effect)
10251025std::shared_ptr<Frame> Clip::apply_effects (std::shared_ptr<Frame> frame)
10261026{
10271027 // Find Effects at this position and layer
1028- list<EffectBase*>::iterator effect_itr;
1028+ std:: list<EffectBase*>::iterator effect_itr;
10291029 for (effect_itr=effects.begin (); effect_itr != effects.end (); ++effect_itr)
10301030 {
10311031 // Get clip object from the iterator
0 commit comments