diff options
author | Víctor Paesa <victorpaesa@googlemail.com> | 2007-07-05 05:13:50 +0000 |
---|---|---|
committer | Víctor Paesa <victorpaesa@googlemail.com> | 2007-07-05 05:13:50 +0000 |
commit | ed77a6c9091cefa2d235ee9f50085bb8489179c2 (patch) | |
tree | 559c1663ed9b0307bd9addb35e3dc39a73cbf051 | |
parent | 3299fb452360c568ac7c433a60244bad0fc68563 (diff) | |
download | ffmpeg-ed77a6c9091cefa2d235ee9f50085bb8489179c2.tar.gz |
The watermark vhook cannot handle truncated bitstreams.
Originally committed as revision 9473 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | vhook/watermark.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vhook/watermark.c b/vhook/watermark.c index 3d8313aa59..a8f7d5728e 100644 --- a/vhook/watermark.c +++ b/vhook/watermark.c @@ -544,10 +544,6 @@ int get_watermark_picture(ContextInfo *ci, int cleanup) return -1; } - // Inform the codec that we can handle truncated bitstreams -- i.e., - // bitstreams where frame boundaries can fall in the middle of packets - if (ci->pCodec->capabilities & CODEC_CAP_TRUNCATED) - ci->pCodecCtx->flags|=CODEC_FLAG_TRUNCATED; // Open codec if(avcodec_open(ci->pCodecCtx, ci->pCodec)<0) { |