mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-01 01:17:47 +00: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:
parent
7e75f9fe5e
commit
34b47d7cbc
5 changed files with 54 additions and 1 deletions
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue