mirror of
https://code.videolan.org/videolan/x264
synced 2024-11-15 03:32:13 +01:00
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.
This commit is contained in:
parent
18db487166
commit
e49414918c
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user