@@ -289,6 +289,9 @@ const PixelFormatTag ff_raw_pix_fmt_tags[] = {
{ AV_PIX_FMT_YUV444P16LE, MKTAG('I', '4', 'F', 'L') },
{ AV_PIX_FMT_YUV444P16BE, MKTAG('I', '4', 'F', 'B') },
+ /* directshow */
+ { AV_PIX_FMT_BGR24, MKTAG(0x7D, 0xEB, 0x36, 0xE4) }, /* MEDIASUBTYPE_RGB8 */
+
/* special */
{ AV_PIX_FMT_RGB565LE,MKTAG( 3 , 0 , 0 , 0 ) }, /* flipped RGB565LE */
{ AV_PIX_FMT_YUV444P, MKTAG('Y', 'V', '2', '4') }, /* YUV444P, swapped UV */
@@ -111,7 +111,8 @@ static av_cold int raw_init_decoder(AVCodecContext *avctx)
!memcmp(avctx->extradata + avctx->extradata_size - 9, "BottomUp", 9)) ||
avctx->codec_tag == MKTAG('c','y','u','v') ||
avctx->codec_tag == MKTAG(3, 0, 0, 0) ||
- avctx->codec_tag == MKTAG('W','R','A','W'))
+ avctx->codec_tag == MKTAG('W','R','A','W') ||
+ avctx->codec_tag == MKTAG(0x7D, 0xEB, 0x36, 0xE4))
context->flip = 1;
if (avctx->pix_fmt == AV_PIX_FMT_MONOWHITE ||