Skip to content

Commit

Permalink
OutputFormat: rename YUV444 to YUV444P
Browse files Browse the repository at this point in the history
This is also how ffmpeg refers to the format, which helps if we are
trying to infer a OutputFormat using ffprobe.
  • Loading branch information
dwlsalmeida authored and rgonzalezfluendo committed Sep 4, 2023
1 parent ef4e970 commit a44701d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fluster/codec.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ class OutputFormat(Enum):
YUV420P12LE = "yuv420p12le"
YUV422P10LE = "yuv422p10le"
YUV422P12LE = "yuv422p12le"
YUV444 = "yuv444p"
YUV444P = "yuv444p"
YUV444P10LE = "yuv444p10le"
YUV444P12LE = "yuv444p12le"
2 changes: 1 addition & 1 deletion fluster/decoders/gstreamer.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def output_format_to_gst(output_format: OutputFormat) -> str:
OutputFormat.YUV422P10LE: "I422_10LE",
OutputFormat.YUV420P12LE: "I420_12LE",
OutputFormat.YUV422P12LE: "I422_12LE",
OutputFormat.YUV444: "Y444",
OutputFormat.YUV444P: "Y444",
OutputFormat.YUV444P10LE: "Y444_10LE",
OutputFormat.YUV444P12LE: "Y444_12LE",
}
Expand Down

0 comments on commit a44701d

Please sign in to comment.