projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3299fb4
)
The watermark vhook cannot handle truncated bitstreams.
author
Víctor Paesa
<victorpaesa@googlemail.com>
Thu, 5 Jul 2007 05:13:50 +0000
(
05:13
+0000)
committer
Víctor Paesa
<victorpaesa@googlemail.com>
Thu, 5 Jul 2007 05:13:50 +0000
(
05:13
+0000)
Originally committed as revision 9473 to svn://svn.ffmpeg.org/ffmpeg/trunk
vhook/watermark.c
patch
|
blob
|
history
diff --git
a/vhook/watermark.c
b/vhook/watermark.c
index
3d8313a
..
a8f7d57
100644
(file)
--- 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) {