[FFmpeg-cvslog] avcodec/shorten: mark as AV_CODEC_CAP_SUBFRAMES

Paul B Mahol git at videolan.org
Sun Apr 10 19:55:06 CEST 2016


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Sun Apr 10 15:30:03 2016 +0200| [571aa7d25edc414c3da9253af8b80508c5275b4b] | committer: Paul B Mahol

avcodec/shorten: mark as AV_CODEC_CAP_SUBFRAMES

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=571aa7d25edc414c3da9253af8b80508c5275b4b
---

 libavcodec/shorten.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c
index e3c5ad1..b3b6d2a 100644
--- a/libavcodec/shorten.c
+++ b/libavcodec/shorten.c
@@ -768,7 +768,7 @@ AVCodec ff_shorten_decoder = {
     .init           = shorten_decode_init,
     .close          = shorten_decode_close,
     .decode         = shorten_decode_frame,
-    .capabilities   = AV_CODEC_CAP_DELAY | AV_CODEC_CAP_DR1,
+    .capabilities   = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DELAY | AV_CODEC_CAP_DR1,
     .sample_fmts    = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16P,
                                                       AV_SAMPLE_FMT_U8P,
                                                       AV_SAMPLE_FMT_NONE },



More information about the ffmpeg-cvslog mailing list