rgb is default (#35467)

* rgb is default

* change dummy default
This commit is contained in:
Harald Schäfer
2025-06-04 23:40:41 -07:00
committed by GitHub
parent 0d7b157965
commit a8639d3feb
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ class DummyFrameReader(BaseFrameReader):
self.frame_count = frame_count
self.frame_type = FrameType.raw
def get(self, idx, count=1, pix_fmt="yuv420p"):
def get(self, idx, count=1, pix_fmt="rgb24"):
if pix_fmt == "rgb24":
shape = (self.h, self.w, 3)
elif pix_fmt == "nv12" or pix_fmt == "yuv420p":