diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2017-12-17 23:06:48 +0100 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2017-12-18 01:07:00 +0000 |
commit | 3f887440677328c9cfed97ad81d14051ffa32aae (patch) | |
tree | 47a71f5c81592773cd32210d132b3c7d8de816e8 /libavcodec | |
parent | 9dcecbf04c656ffbfdfbeb7580d701d36071d876 (diff) | |
download | ffmpeg-3f887440677328c9cfed97ad81d14051ffa32aae.tar.gz |
aptx: add codec cap SMALL_LAST_FRAME and INIT_THREADSAFE as appropriate
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/aptx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/aptx.c b/libavcodec/aptx.c index d09ce8f838..a35d2861c1 100644 --- a/libavcodec/aptx.c +++ b/libavcodec/aptx.c @@ -836,6 +836,7 @@ AVCodec ff_aptx_decoder = { .decode = aptx_decode_frame, .close = aptx_close, .capabilities = AV_CODEC_CAP_DR1, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, .channel_layouts = (const uint64_t[]) { AV_CH_LAYOUT_STEREO, 0}, .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S32P, AV_SAMPLE_FMT_NONE }, @@ -852,6 +853,8 @@ AVCodec ff_aptx_encoder = { .init = aptx_init, .encode2 = aptx_encode_frame, .close = aptx_close, + .capabilities = AV_CODEC_CAP_SMALL_LAST_FRAME, + .caps_internal = FF_CODEC_CAP_INIT_THREADSAFE, .channel_layouts = (const uint64_t[]) { AV_CH_LAYOUT_STEREO, 0}, .sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S32P, AV_SAMPLE_FMT_NONE }, |