Commit e4941491 authored by Alexander Strange's avatar Alexander Strange Committed by Fiona Glaser
Browse files

mkv: Write the x264 version into the file header

This only updates the "writing application"; matroska_ebml.c is the
"muxing application", but the version string for that is still hardcoded.
parent 18db4871
......@@ -146,7 +146,7 @@ static int write_headers( hnd_t handle, x264_nal_t *p_nal )
memcpy( avcC+11+sps_size, pps, pps_size );
ret = mk_writeHeader( p_mkv->w, "x264", "V_MPEG4/ISO/AVC",
ret = mk_writeHeader( p_mkv->w, "x264" X264_VERSION, "V_MPEG4/ISO/AVC",
avcC, avcC_len, p_mkv->frame_duration, 50000,
p_mkv->width, p_mkv->height,
p_mkv->d_width, p_mkv->d_height );
......
Markdown is supported
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