Skip to content

Commit da38b15

Browse files
author
Clement Champetier
committed
AudioVideo: up avtranscoder submodule to v0.5.5
1 parent 2080198 commit da38b15

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed
Submodule avTranscoder updated 44 files

plugins/image/io/AudioVideo/src/reader/AVReaderPlugin.cpp

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ void AVReaderPlugin::changedParam( const OFX::InstanceChangedArgs& args, const s
171171
}
172172
else if( paramName == kTuttlePluginFilename )
173173
{
174+
typedef std::pair<std::string, std::string> PropertyPair;
174175
try
175176
{
176177
ensureVideoIsOpen();
@@ -183,7 +184,7 @@ void AVReaderPlugin::changedParam( const OFX::InstanceChangedArgs& args, const s
183184

184185
// update wrapper of Metadata tab
185186
std::string wrapperValue( "" );
186-
BOOST_FOREACH( const avtranscoder::PropertiesMap::value_type& pair, inputProperties.getPropertiesAsMap() )
187+
BOOST_FOREACH( const PropertyPair& pair, inputProperties.getPropertiesAsVector() )
187188
{
188189
wrapperValue += pair.first + ": " + pair.second + "\n";
189190
}
@@ -198,7 +199,7 @@ void AVReaderPlugin::changedParam( const OFX::InstanceChangedArgs& args, const s
198199
BOOST_FOREACH( const avtranscoder::VideoProperties& videoStream, inputProperties.getVideoProperties() )
199200
{
200201
videoValue += "::::: VIDEO STREAM ::::: \n";
201-
BOOST_FOREACH( const avtranscoder::PropertiesMap::value_type& pair, videoStream.getPropertiesAsMap() )
202+
BOOST_FOREACH( const PropertyPair& pair, videoStream.getPropertiesAsVector() )
202203
{
203204
videoValue += pair.first + ": " + pair.second + "\n";
204205
}
@@ -215,7 +216,7 @@ void AVReaderPlugin::changedParam( const OFX::InstanceChangedArgs& args, const s
215216
BOOST_FOREACH( const avtranscoder::AudioProperties& audioStream, inputProperties.getAudioProperties() )
216217
{
217218
audioValue += "::::: AUDIO STREAM ::::: \n";
218-
BOOST_FOREACH( const avtranscoder::PropertiesMap::value_type& pair, audioStream.getPropertiesAsMap() )
219+
BOOST_FOREACH( const PropertyPair& pair, audioStream.getPropertiesAsVector() )
219220
{
220221
audioValue += pair.first + ": " + pair.second + "\n";
221222
}
@@ -232,7 +233,7 @@ void AVReaderPlugin::changedParam( const OFX::InstanceChangedArgs& args, const s
232233
BOOST_FOREACH( const avtranscoder::DataProperties& dataStream, inputProperties.getDataProperties() )
233234
{
234235
dataValue += "::::: DATA STREAM ::::: \n";
235-
BOOST_FOREACH( const avtranscoder::PropertiesMap::value_type& pair, dataStream.getPropertiesAsMap() )
236+
BOOST_FOREACH( const PropertyPair& pair, dataStream.getPropertiesAsVector() )
236237
{
237238
dataValue += pair.first + ": " + pair.second + "\n";
238239
}
@@ -249,7 +250,7 @@ void AVReaderPlugin::changedParam( const OFX::InstanceChangedArgs& args, const s
249250
BOOST_FOREACH( const avtranscoder::SubtitleProperties& subtitleStream, inputProperties.getSubtitleProperties() )
250251
{
251252
subtitleValue += "::::: SUBTITLE STREAM ::::: \n";
252-
BOOST_FOREACH( const avtranscoder::PropertiesMap::value_type& pair, subtitleStream.getPropertiesAsMap() )
253+
BOOST_FOREACH( const PropertyPair& pair, subtitleStream.getPropertiesAsVector() )
253254
{
254255
subtitleValue += pair.first + ": " + pair.second + "\n";
255256
}
@@ -266,7 +267,7 @@ void AVReaderPlugin::changedParam( const OFX::InstanceChangedArgs& args, const s
266267
BOOST_FOREACH( const avtranscoder::AttachementProperties& attachementStream, inputProperties.getAttachementProperties() )
267268
{
268269
attachementValue += "::::: ATTACHEMENT STREAM ::::: \n";
269-
BOOST_FOREACH( const avtranscoder::PropertiesMap::value_type& pair, attachementStream.getPropertiesAsMap() )
270+
BOOST_FOREACH( const PropertyPair& pair, attachementStream.getPropertiesAsVector() )
270271
{
271272
attachementValue += pair.first + ": " + pair.second + "\n";
272273
}
@@ -283,7 +284,7 @@ void AVReaderPlugin::changedParam( const OFX::InstanceChangedArgs& args, const s
283284
BOOST_FOREACH( const avtranscoder::UnknownProperties& unknownStream, inputProperties.getUnknownPropertiesProperties() )
284285
{
285286
unknownValue += "::::: UNKNOWN STREAM ::::: \n";
286-
BOOST_FOREACH( const avtranscoder::PropertiesMap::value_type& pair, unknownStream.getPropertiesAsMap() )
287+
BOOST_FOREACH( const PropertyPair& pair, unknownStream.getPropertiesAsVector() )
287288
{
288289
unknownValue += pair.first + ": " + pair.second + "\n";
289290
}

plugins/image/io/AudioVideo/src/writer/AVWriterPlugin.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ struct AVProcessParams
3636
std::string _videoPixelFormatName; /// videoPixelFormat name
3737
std::string _audioSampleFormatName; /// audioSampleFormat name
3838

39-
avtranscoder::PropertiesMap _metadatas;
39+
avtranscoder::PropertyVector _metadatas;
4040
};
4141

4242
/**

0 commit comments

Comments
 (0)