mirror of https://git.ffmpeg.org/ffmpeg.git
lavf/mpeg: Support demuxing HEVC in mpeg-ps.
This commit is contained in:
parent
476a77128a
commit
303439bc5f
|
@ -544,6 +544,9 @@ redo:
|
||||||
} else if (es_type == STREAM_TYPE_VIDEO_H264) {
|
} else if (es_type == STREAM_TYPE_VIDEO_H264) {
|
||||||
codec_id = AV_CODEC_ID_H264;
|
codec_id = AV_CODEC_ID_H264;
|
||||||
type = AVMEDIA_TYPE_VIDEO;
|
type = AVMEDIA_TYPE_VIDEO;
|
||||||
|
} else if (es_type == STREAM_TYPE_VIDEO_HEVC) {
|
||||||
|
codec_id = AV_CODEC_ID_HEVC;
|
||||||
|
type = AVMEDIA_TYPE_VIDEO;
|
||||||
} else if (es_type == STREAM_TYPE_AUDIO_AC3) {
|
} else if (es_type == STREAM_TYPE_AUDIO_AC3) {
|
||||||
codec_id = AV_CODEC_ID_AC3;
|
codec_id = AV_CODEC_ID_AC3;
|
||||||
type = AVMEDIA_TYPE_AUDIO;
|
type = AVMEDIA_TYPE_AUDIO;
|
||||||
|
|
|
@ -55,6 +55,7 @@
|
||||||
#define STREAM_TYPE_AUDIO_AAC 0x0f
|
#define STREAM_TYPE_AUDIO_AAC 0x0f
|
||||||
#define STREAM_TYPE_VIDEO_MPEG4 0x10
|
#define STREAM_TYPE_VIDEO_MPEG4 0x10
|
||||||
#define STREAM_TYPE_VIDEO_H264 0x1b
|
#define STREAM_TYPE_VIDEO_H264 0x1b
|
||||||
|
#define STREAM_TYPE_VIDEO_HEVC 0x24
|
||||||
#define STREAM_TYPE_VIDEO_CAVS 0x42
|
#define STREAM_TYPE_VIDEO_CAVS 0x42
|
||||||
|
|
||||||
#define STREAM_TYPE_AUDIO_AC3 0x81
|
#define STREAM_TYPE_AUDIO_AC3 0x81
|
||||||
|
|
Loading…
Reference in New Issue