From: Alexander Strange Date: Sat, 13 Feb 2010 07:00:57 +0000 (-0500) Subject: mkv: Write the x264 version into the file header X-Git-Url: http://www.zmx.ovh/git.videolan.org/?a=commitdiff_plain;h=dffb2036daed615908ab666d7f6130abed6d0160;p=x264.git 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. --- diff --git a/output/matroska.c b/output/matroska.c index db7639c7..b1805e41 100644 --- a/output/matroska.c +++ b/output/matroska.c @@ -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 );