Browse Source

The watermark vhook cannot handle truncated bitstreams.

Originally committed as revision 9473 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Víctor Paesa 18 years ago
parent
commit
ed77a6c909
1 changed files with 0 additions and 4 deletions
  1. +0
    -4
      vhook/watermark.c

+ 0
- 4
vhook/watermark.c View File

@@ -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) {


Loading…
Cancel
Save