diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2020-11-07 15:49:38 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2020-11-07 15:49:38 +0000 |
commit | 1eee34b954e5116844b70a37e99197f82c5bf439 (patch) | |
tree | ce7d85ae5ecfb61ebb07b6ca7a47a38e3ac553c0 /multimedia/x264/files/patch-output_mp4.c | |
parent | games/vkquake: don't try to open Steam urls (diff) |
multimedia/x264: update to 0.161.3020
Changes: https://code.videolan.org/videolan/x264/compare/cde9a93...d198931
ABI: https://abi-laboratory.pro/tracker/timeline/x264/
Diffstat (limited to 'multimedia/x264/files/patch-output_mp4.c')
-rw-r--r-- | multimedia/x264/files/patch-output_mp4.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/multimedia/x264/files/patch-output_mp4.c b/multimedia/x264/files/patch-output_mp4.c deleted file mode 100644 index ec8acc1ab3c8..000000000000 --- a/multimedia/x264/files/patch-output_mp4.c +++ /dev/null @@ -1,20 +0,0 @@ ---- output/mp4.c.orig 2020-07-02 16:50:47 UTC -+++ output/mp4.c -@@ -147,7 +147,7 @@ static int close_file( hnd_t handle, int64_t largest_p - { - uint32_t mvhd_timescale = gf_isom_get_timescale( p_mp4->p_file ); - uint64_t tkhd_duration = (uint64_t)( mdhd_duration * ( (double)mvhd_timescale / p_mp4->i_time_res ) ); -- gf_isom_append_edit_segment( p_mp4->p_file, p_mp4->i_track, tkhd_duration, sample->CTS_Offset, GF_ISOM_EDIT_NORMAL ); -+ gf_isom_append_edit( p_mp4->p_file, p_mp4->i_track, tkhd_duration, sample->CTS_Offset, GF_ISOM_EDIT_NORMAL ); - } - gf_isom_sample_del( &sample ); - -@@ -233,7 +233,7 @@ static int set_param( hnd_t handle, x264_param_t *p_pa - dw *= sar; - else - dh /= sar; -- gf_isom_set_pixel_aspect_ratio( p_mp4->p_file, p_mp4->i_track, p_mp4->i_descidx, p_param->vui.i_sar_width, p_param->vui.i_sar_height ); -+ gf_isom_set_pixel_aspect_ratio( p_mp4->p_file, p_mp4->i_track, p_mp4->i_descidx, p_param->vui.i_sar_width, p_param->vui.i_sar_height, 0 ); - gf_isom_set_track_layout_info( p_mp4->p_file, p_mp4->i_track, dw, dh, 0, 0, 0 ); - } - |