avformat/mpegts: add support for stream_type 0xd2, which is AVS2
GB/T 17975.1 Information technology-Generic coding of moving pictures and associated audio information-Part 1:Systems Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
This commit is contained in:
parent
ff7ed0b006
commit
a59f8ea2a9
@ -129,6 +129,7 @@
|
||||
#define STREAM_TYPE_VIDEO_H264 0x1b
|
||||
#define STREAM_TYPE_VIDEO_HEVC 0x24
|
||||
#define STREAM_TYPE_VIDEO_CAVS 0x42
|
||||
#define STREAM_TYPE_VIDEO_AVS2 0xd2
|
||||
#define STREAM_TYPE_VIDEO_VC1 0xea
|
||||
#define STREAM_TYPE_VIDEO_DIRAC 0xd1
|
||||
|
||||
|
@ -366,6 +366,9 @@ static int get_dvb_stream_type(AVFormatContext *s, AVStream *st)
|
||||
case AV_CODEC_ID_CAVS:
|
||||
stream_type = STREAM_TYPE_VIDEO_CAVS;
|
||||
break;
|
||||
case AV_CODEC_ID_AVS2:
|
||||
stream_type = STREAM_TYPE_VIDEO_AVS2;
|
||||
break;
|
||||
case AV_CODEC_ID_DIRAC:
|
||||
stream_type = STREAM_TYPE_VIDEO_DIRAC;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user