diff --git a/IO/FFMPEG/Testing/Data/Baseline/TestFFMPEGVideoSourceWithAudio.png.sha512 b/IO/FFMPEG/Testing/Data/Baseline/TestFFMPEGVideoSourceWithAudio.png.sha512 index b88e906ed578da723e40067f709e996a5ccee643..5f76677dba69df354c2cd3c27b691e2547e40c07 100644 --- a/IO/FFMPEG/Testing/Data/Baseline/TestFFMPEGVideoSourceWithAudio.png.sha512 +++ b/IO/FFMPEG/Testing/Data/Baseline/TestFFMPEGVideoSourceWithAudio.png.sha512 @@ -1 +1 @@ -ce01471ff2d2dcf80a3f2b956663c547825320637054cfcb16a578b24d2b372c117bef986b290d9c6055293fe446aabc2eabff35010fdbc383317f847be6824b +2f5426417db872ddde8c60fe4581ade5ca3eed7fd15e2ae1454639a8c283bd600ffa201da13af8471450eb850296b3d06b471d558c08f3f1e52e9b3cbafa70d7 diff --git a/IO/FFMPEG/vtkFFMPEGVideoSource.cxx b/IO/FFMPEG/vtkFFMPEGVideoSource.cxx index 370cebf736b66feff32c7c78ce3345a239030a8d..065069116d9dcd9c21d2bea6c707a41e6d75f7e9 100644 --- a/IO/FFMPEG/vtkFFMPEGVideoSource.cxx +++ b/IO/FFMPEG/vtkFFMPEGVideoSource.cxx @@ -126,6 +126,12 @@ vtkFFMPEGVideoSource::vtkFFMPEGVideoSource() , FeedThreadId(-1) , FileName(nullptr) { + // changed from superclass + this->OutputFormat = VTK_RGB; + this->FrameBufferBitsPerPixel = 24; + this->NumberOfScalarComponents = 3; + this->FrameBufferRowAlignment = 4; + this->Internal = new vtkFFMPEGVideoSourceInternal; }