[x264-devel] commit: mkv: Write the x264 version into the file header ( Alexander Strange )

git version control git at videolan.org
Mon Feb 15 10:07:47 CET 2010


x264 | branch: master | Alexander Strange <astrange at ithinksw.com> | Sat Feb 13 02:00:57 2010 -0500| [dffb2036daed615908ab666d7f6130abed6d0160] | committer: Jason Garrett-Glaser 

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.

> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=dffb2036daed615908ab666d7f6130abed6d0160
---

 output/matroska.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/output/matroska.c b/output/matroska.c
index db7639c..b1805e4 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 );



More information about the x264-devel mailing list