Commit f03dbfd4 authored by Loren Merritt's avatar Loren Merritt
Browse files

MP4: set "track enabled" flag.

patch by Robert Swain.

git-svn-id: svn:// df754926-b1dd-0310-bc7b-ec298dee348c
parent 8443f260
......@@ -1468,6 +1468,8 @@ static int set_param_mp4( hnd_t handle, x264_param_t *p_param )
gf_isom_avc_config_new(p_mp4->p_file, p_mp4->i_track, p_mp4->p_config,
NULL, NULL, &p_mp4->i_descidx);
gf_isom_set_track_enabled(p_mp4->p_file, p_mp4->i_track, 1);
gf_isom_set_visual_info(p_mp4->p_file, p_mp4->i_track, p_mp4->i_descidx,
p_param->i_width, p_param->i_height);
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