[FFmpeg-trac] #8454(avdevice:new): No PixelFormatTag for P010 (fourcc 0x30313050)
FFmpeg
trac at avcodec.org
Mon Jan 6 00:58:38 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 pheedbaq3):
Replying to [comment:6 Balling]:
> 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) },
> }}}
Correct, that's what I meant. Just the one line in raw.c. Still cehoyos
code, just the first portion of the patch.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8454#comment:7>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list