Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DeviceInfo/DeviceInfoImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ namespace Plugin {
{
AudioOutputList audioOutputList;

std::transform(_audioOutputMap.begin(), _audioOutputMap.end(), std::front_inserter(audioOutputList),
std::transform(_audioOutputMap.begin(), _audioOutputMap.end(), std::back_inserter(audioOutputList),
[](decltype(_audioOutputMap)::value_type const &pair) {
return pair.first;
});
Expand Down
4 changes: 2 additions & 2 deletions DeviceInfo/DeviceInfoImplementation.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ namespace Plugin {
std::list<IDeviceAudioCapabilities::MS12Profile> MS12Profiles;
};
using AudioOutputMap = std::map<Exchange::IDeviceAudioCapabilities::AudioOutput, AudioOutputCapability>;
using AudioOutputList = std::list<Exchange::IDeviceAudioCapabilities::AudioOutput>;
using AudioOutputList = std::vector<Exchange::IDeviceAudioCapabilities::AudioOutput>;
using AudioOutputIteratorImplementation = RPC::IteratorType<Exchange::IDeviceAudioCapabilities::IAudioOutputIterator>;

struct VideoOutputCapability {
Expand All @@ -160,7 +160,7 @@ namespace Plugin {
IDeviceVideoCapabilities::CopyProtection CopyProtection;
};
using VideoOutputMap = std::map<Exchange::IDeviceVideoCapabilities::VideoOutput, VideoOutputCapability>;
using VideoOutputList = std::list<Exchange::IDeviceVideoCapabilities::VideoOutput>;
using VideoOutputList = std::vector<Exchange::IDeviceVideoCapabilities::VideoOutput>;
using VideoOutputIteratorImplementation = RPC::IteratorType<Exchange::IDeviceVideoCapabilities::IVideoOutputIterator>;

public:
Expand Down
6 changes: 3 additions & 3 deletions DisplayInfo/DeviceSettings/PlatformImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ class DisplayInfoImplementation :

uint32_t Colorimetry(IColorimetryIterator*& colorimetry /* @out */) const override
{
std::list<Exchange::IDisplayProperties::ColorimetryType> colorimetryCaps;
std::vector<Exchange::IDisplayProperties::ColorimetryType> colorimetryCaps;
vector<uint8_t> edidVec;
uint32_t ret = GetEdidBytes(edidVec);
if (ret == Core::ERROR_NONE)
Expand Down Expand Up @@ -665,7 +665,7 @@ class DisplayInfoImplementation :
// @return HDRType: array of HDR formats
uint32_t TVCapabilities(IHDRIterator*& type /* out */) const override
{
std::list<Exchange::IHDRProperties::HDRType> hdrCapabilities;
std::vector<Exchange::IHDRProperties::HDRType> hdrCapabilities;

int capabilities = static_cast<int>(dsHDRSTANDARD_NONE);
try
Expand Down Expand Up @@ -699,7 +699,7 @@ class DisplayInfoImplementation :
// @return HDRType: array of HDR formats
uint32_t STBCapabilities(IHDRIterator*& type /* out */) const override
{
std::list<Exchange::IHDRProperties::HDRType> hdrCapabilities;
std::vector<Exchange::IHDRProperties::HDRType> hdrCapabilities;

int capabilities = static_cast<int>(dsHDRSTANDARD_NONE);
try
Expand Down
2 changes: 1 addition & 1 deletion MessageControl/MessageControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ namespace Plugin {

Core::hresult Controls(const string& module, Exchange::IMessageControl::IControlIterator*& controls) const override
{
std::list<Exchange::IMessageControl::Control> list;
std::vector<Exchange::IMessageControl::Control> list;
Messaging::MessageUnit::Iterator index;
_client.Controls(index, module);

Expand Down
4 changes: 2 additions & 2 deletions PlayerInfo/DeviceSettings/PlatformImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@ class PlayerInfoImplementation : public Exchange::IPlayerProperties, public Exch
}

private:
std::list<Exchange::IPlayerProperties::AudioCodec> _audioCodecs;
std::list<Exchange::IPlayerProperties::VideoCodec> _videoCodecs;
std::vector<Exchange::IPlayerProperties::AudioCodec> _audioCodecs;
std::vector<Exchange::IPlayerProperties::VideoCodec> _videoCodecs;
std::map<string, Exchange::IPlayerProperties::PlaybackResolution> _resolutions =
{
{"480i24", RESOLUTION_480I24},
Expand Down
4 changes: 2 additions & 2 deletions PlayerInfo/GStreamer/PlatformImplementation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ class PlayerInfoImplementation : public Exchange::IPlayerProperties {
}

private:
std::list<Exchange::IPlayerProperties::AudioCodec> _audioCodecs;
std::list<Exchange::IPlayerProperties::VideoCodec> _videoCodecs;
std::vector<Exchange::IPlayerProperties::AudioCodec> _audioCodecs;
std::vector<Exchange::IPlayerProperties::VideoCodec> _videoCodecs;
#if DOLBY_SUPPORT
Exchange::Dolby::IOutput* _dolbyOut;
#endif
Expand Down
2 changes: 1 addition & 1 deletion WebKitBrowser/WebKitBrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ namespace Plugin {
Core::JSON::ArrayType<Core::JSON::String> array;
array.FromString(languagesList);

std::list<string> list;
std::vector<string> list;
auto iterator = array.Elements();

while (iterator.Next() == true) {
Expand Down
Loading