Revision ed77a6c9

View differences:

vhook/watermark.c
544 544
            return -1;
545 545
        }
546 546

  
547
        // Inform the codec that we can handle truncated bitstreams -- i.e.,
548
        // bitstreams where frame boundaries can fall in the middle of packets
549
        if (ci->pCodec->capabilities & CODEC_CAP_TRUNCATED)
550
            ci->pCodecCtx->flags|=CODEC_FLAG_TRUNCATED;
551 547

  
552 548
        // Open codec
553 549
        if(avcodec_open(ci->pCodecCtx, ci->pCodec)<0) {

Also available in: Unified diff