ffmpegdecoder: read pixel format from frame instead of stream

This commit is contained in:
itsmattkc
2022-05-22 13:41:44 -07:00
parent 3de9251cf5
commit cab62ba5d1
5 changed files with 54 additions and 37 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ public:
*/
bool RetrieveVideo(TexturePtr destination, const rational& timecode, const RetrieveVideoParams& divider, const QAtomicInt *cancelled = nullptr);
virtual VideoParams GetParamsForTexture(const Decoder::RetrieveVideoParams &p) const
virtual VideoParams GetParamsForTexture(const Decoder::RetrieveVideoParams &p)
{
return VideoParams();
}