mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-12-24 11:52:06 +08:00
Add support for Matroska attachments.
patch by eugeni _dot_ stepanov _at_ gmail.com and myself Originally committed as revision 11635 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
committed by
Aurelien Jacobs
parent
20963a7156
commit
f8d7c9d373
@@ -1219,6 +1219,10 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
|
||||
snprintf(buf, buf_size, "Subtitle: %s", codec_name);
|
||||
bitrate = enc->bit_rate;
|
||||
break;
|
||||
case CODEC_TYPE_ATTACHMENT:
|
||||
snprintf(buf, buf_size, "Attachment: %s", codec_name);
|
||||
bitrate = enc->bit_rate;
|
||||
break;
|
||||
default:
|
||||
snprintf(buf, buf_size, "Invalid Codec type %d", enc->codec_type);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user