From 87c40b35eb6e10aca53421da45a890039ac94e92 Mon Sep 17 00:00:00 2001 From: Johann Date: Thu, 1 Mar 2012 16:12:53 -0800 Subject: [PATCH] Fix encoder debug setting Propagate debug setting to the EBML struct. When writing the application name, this allows us to strip the version code and keep the output metadata static. Change-Id: I8e06c6abd743bedbff5af6242bbdae5d55754538 --- vpxenc.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vpxenc.c b/vpxenc.c index 0480fbd..e8b8261 100644 --- a/vpxenc.c +++ b/vpxenc.c @@ -1740,6 +1740,9 @@ static struct stream_state *new_stream(struct global_config *global, stream->config.stereo_fmt = STEREO_FORMAT_MONO; stream->config.write_webm = 1; stream->ebml.last_pts_ms = -1; + + /* Allows removal of the application version from the EBML tags */ + stream->ebml.debug = global->debug; } /* Output files must be specified for each stream */ -- 2.7.4