[FFmpeg-cvslog] r9473 - trunk/vhook/watermark.c

victor subversion
Thu Jul 5 07:13:50 CEST 2007


Author: victor
Date: Thu Jul  5 07:13:50 2007
New Revision: 9473

Log:
The watermark vhook cannot handle truncated bitstreams.


Modified:
   trunk/vhook/watermark.c

Modified: trunk/vhook/watermark.c
==============================================================================
--- trunk/vhook/watermark.c	(original)
+++ trunk/vhook/watermark.c	Thu Jul  5 07:13:50 2007
@@ -544,10 +544,6 @@ int get_watermark_picture(ContextInfo *c
             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) {




More information about the ffmpeg-cvslog mailing list