[FFmpeg-cvslog] avformat/dashenc: Pass flags to child context
Michael Niedermayer
git at videolan.org
Mon Apr 11 04:35:17 CEST 2016
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Mon Apr 11 03:59:12 2016 +0200| [0c9ad94e97baeb435ec6fc46ab19c16304a534dd] | committer: Michael Niedermayer
avformat/dashenc: Pass flags to child context
This is needed as the bitexact flag is not in the codecpar context, and thus not copied
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0c9ad94e97baeb435ec6fc46ab19c16304a534dd
---
libavformat/dashenc.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c
index 8ddf0f3..519f9c4 100644
--- a/libavformat/dashenc.c
+++ b/libavformat/dashenc.c
@@ -632,6 +632,7 @@ static int dash_write_header(AVFormatContext *s)
st->sample_aspect_ratio = s->streams[i]->sample_aspect_ratio;
st->time_base = s->streams[i]->time_base;
ctx->avoid_negative_ts = s->avoid_negative_ts;
+ ctx->flags = s->flags;
ctx->pb = avio_alloc_context(os->iobuf, sizeof(os->iobuf), AVIO_FLAG_WRITE, os, NULL, dash_write, NULL);
if (!ctx->pb) {
More information about the ffmpeg-cvslog
mailing list