mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-24 19:59:46 +00:00
mpegtsenc: support CODEC_ID_AAC_LATM
$subject. Have used this for loopback testing with mpegts.c.
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
[2. text/x-diff; 0001-mpegtsenc-support-CODEC_ID_AAC_LATM.patch]
From 0f7f9db4b7da1793996af6dda84298507703759a Mon Sep 17 00:00:00 2001
From: Peter Ross <pross@xvid.org>
Date: Sun, 9 Jan 2011 09:45:50 +1100
Subject: [PATCH] mpegtsenc: support CODEC_ID_AAC_LATM
Signed-off-by: Mans Rullgard <mans@mansr.com>
(cherry picked from commit 4d54df8e07
)
This commit is contained in:
parent
c053bba9e2
commit
59884f55d1
@ -48,6 +48,7 @@
|
||||
#define STREAM_TYPE_PRIVATE_SECTION 0x05
|
||||
#define STREAM_TYPE_PRIVATE_DATA 0x06
|
||||
#define STREAM_TYPE_AUDIO_AAC 0x0f
|
||||
#define STREAM_TYPE_AUDIO_AAC_LATM 0x11
|
||||
#define STREAM_TYPE_VIDEO_MPEG4 0x10
|
||||
#define STREAM_TYPE_VIDEO_H264 0x1b
|
||||
#define STREAM_TYPE_VIDEO_VC1 0xea
|
||||
|
@ -243,6 +243,9 @@ static void mpegts_write_pmt(AVFormatContext *s, MpegTSService *service)
|
||||
case CODEC_ID_AAC:
|
||||
stream_type = STREAM_TYPE_AUDIO_AAC;
|
||||
break;
|
||||
case CODEC_ID_AAC_LATM:
|
||||
stream_type = STREAM_TYPE_AUDIO_AAC_LATM;
|
||||
break;
|
||||
case CODEC_ID_AC3:
|
||||
stream_type = STREAM_TYPE_AUDIO_AC3;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user