WIP. Scale cover art option. Seems to work

This commit is contained in:
emeric
2014-06-14 20:44:03 +02:00
parent 1d67a548c9
commit 9bada5ee2a
92 changed files with 15866 additions and 1890 deletions
-3
View File
@@ -9,8 +9,6 @@ namespace Av
InputFormatContext::InputFormatContext(const boost::filesystem::path& p)
: _path(p)
{
std::cout << "Opening '" << p.string().c_str() << "'" << std::endl;
AVFormatContext* context = nullptr;
// The last three parameters specify the file format, buffer size and
@@ -103,7 +101,6 @@ InputFormatContext::getPictures(std::vector< std::vector<unsigned char> >& pictu
{
if (native()->streams[i]->disposition & AV_DISPOSITION_ATTACHED_PIC)
{
std::cout << "Found album art..." << std::endl;
AVPacket pkt = native()->streams[i]->attached_pic;
std::vector<unsigned char> data;