Commit 87c40b35 authored by Johann's avatar Johann
Browse files

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
Showing with 3 additions and 0 deletions
...@@ -1740,6 +1740,9 @@ static struct stream_state *new_stream(struct global_config *global, ...@@ -1740,6 +1740,9 @@ static struct stream_state *new_stream(struct global_config *global,
stream->config.stereo_fmt = STEREO_FORMAT_MONO; stream->config.stereo_fmt = STEREO_FORMAT_MONO;
stream->config.write_webm = 1; stream->config.write_webm = 1;
stream->ebml.last_pts_ms = -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 */ /* Output files must be specified for each stream */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment