Skip to content

Commit

Permalink
StAVImage - remove JPEG encoder limitation of older FFmpeg (supportin…
Browse files Browse the repository at this point in the history
…g YUV444 format)
  • Loading branch information
gkv311 committed Jan 17, 2025
1 parent 1849b3f commit 911331d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions StShared/StAVImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -717,9 +717,8 @@ bool StAVImage::save(const StString& theFilePath,

if(aPFormatAV == stAV::PIX_FMT::YUVJ420P
|| aPFormatAV == stAV::PIX_FMT::YUVJ422P
//|| aPFormatAV == stAV::PIX_FMT::YUVJ444P not supported by FFmpeg... yet?
//|| aPFormatAV == stAV::PIX_FMT::YUVJ440P
) {
|| aPFormatAV == stAV::PIX_FMT::YUVJ444P
|| aPFormatAV == stAV::PIX_FMT::YUVJ440P) {
anImage.initWrapper(*this);
} else {
// convert to compatible pixel format
Expand Down

0 comments on commit 911331d

Please sign in to comment.