I saw minitube 3.2 was released, with bugfixes for video issues. Hoping it might solve my video problem on one machine and possibly even segfault on the other, I tried to make it. Both machines cannot make tho, get error about operator[]...
Code:
In file included from src/ytvideo.cpp:1:0:
src/ytvideo.h: In constructor ‘YTVideo::YTVideo(const QString&, QObject*)’:
src/ytvideo.h:40:10: warning: ‘YTVideo::ageGate’ will be initialized after [-Wreorder]
bool ageGate;
^~~~~~~
src/ytvideo.h:38:10: warning: ‘bool YTVideo::loadingStreamUrl’ [-Wreorder]
bool loadingStreamUrl;
^~~~~~~~~~~~~~~~
src/ytvideo.cpp:19:1: warning: when initialized here [-Wreorder]
YTVideo::YTVideo(const QString &videoId, QObject *parent)
^~~~~~~
src/ytvideo.cpp: In lambda function:
src/ytvideo.cpp:106:38: error: no match for ‘operator[]’ (operand types are ‘const QJsonValue’ and ‘const char [5]’)
int itag = format["itag"].toInt();
^
src/ytvideo.cpp:107:41: error: no match for ‘operator[]’ (operand types are ‘const QJsonValue’ and ‘const char [4]’)
QString url = format["url"].toString();
^
src/ytvideo.cpp:109:48: error: no match for ‘operator[]’ (operand types are ‘const QJsonValue’ and ‘const char [7]’)
QString cipher = format["cipher"].toString();
^
Makefile:2241: recipe for target 'build/obj/ytvideo.o' failed
make: *** [build/obj/ytvideo.o] Error 1
mc4man, if you are able to successfully package it for your ppa, I'd love to try it. (or of course idea for why I can't make). I of course am using librariers/etc from your ppa that did allow me to make version 3.1 without error.
Bookmarks