mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-18 12:51:31 +08:00
Add audio_service_type field to AVCodecContext for encoding and reporting
of the service type in the audio bitstream.
This commit is contained in:
1
ffmpeg.c
1
ffmpeg.c
@ -2100,6 +2100,7 @@ static int transcode(AVFormatContext **output_files,
|
||||
codec->sample_rate = icodec->sample_rate;
|
||||
codec->channels = icodec->channels;
|
||||
codec->frame_size = icodec->frame_size;
|
||||
codec->audio_service_type = icodec->audio_service_type;
|
||||
codec->block_align= icodec->block_align;
|
||||
if(codec->block_align == 1 && codec->codec_id == CODEC_ID_MP3)
|
||||
codec->block_align= 0;
|
||||
|
Reference in New Issue
Block a user