[FFmpeg-trac] #8454(avdevice:new): No PixelFormatTag for P010 (fourcc 0x30313050)
FFmpeg
trac at avcodec.org
Fri Jan 3 07:45:48 EET 2020
#8454: No PixelFormatTag for P010 (fourcc 0x30313050)
-------------------------------------+------------------------------------
Reporter: pheedbaq3 | Owner:
Type: enhancement | Status: new
Priority: wish | Component: avdevice
Version: git-master | Resolution:
Keywords: dshow | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by Balling):
Replying to [comment:5 cehoyos]:
> If you did not test my patch please send your patch - made with `git
format-patch` - to the FFmpeg development mailing list.
He meant he used only
{{{
diff --git a/libavcodec/raw.c b/libavcodec/raw.c
index b6fb91c1c6..6052f18983 100644
--- a/libavcodec/raw.c
+++ b/libavcodec/raw.c
@@ -72,6 +72,7 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{ AV_PIX_FMT_GRAY8, MKTAG('G', 'R', 'E', 'Y') },
{ AV_PIX_FMT_NV12, MKTAG('N', 'V', '1', '2') },
{ AV_PIX_FMT_NV21, MKTAG('N', 'V', '2', '1') },
+ { AV_PIX_FMT_P010LE, MKTAG('P', '0', '1', '0') },
/* nut */
{ AV_PIX_FMT_RGB555LE, MKTAG('R', 'G', 'B', 15) },
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8454#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list