Commit e2c56268 authored by Yusuke Nakamura's avatar Yusuke Nakamura Committed by Fiona Glaser

Write PASP atom in mp4 muxing

Adds container-level aspect ratio support for mp4.
parent 46819d56
......@@ -212,6 +212,7 @@ static int set_param( hnd_t handle, x264_param_t *p_param )
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_track_layout_info( p_mp4->p_file, p_mp4->i_track, dw, dh, 0, 0, 0 );
}
......
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