Commit 7255e433 authored by Laurent Aimar's avatar Laurent Aimar

* mp4: fixed width in tkhd. (at least I hope).

parent 08be895a
...@@ -1554,8 +1554,7 @@ static bo_t *GetMoovBox( sout_mux_t *p_mux ) ...@@ -1554,8 +1554,7 @@ static bo_t *GetMoovBox( sout_mux_t *p_mux )
if( p_stream->fmt.video.i_aspect > 0 ) if( p_stream->fmt.video.i_aspect > 0 )
{ {
i_width = p_stream->fmt.video.i_aspect * i_width = p_stream->fmt.video.i_aspect *
p_stream->fmt.video.i_height / (p_stream->fmt.video.i_height << 16) / VOUT_ASPECT_FACTOR;
VOUT_ASPECT_FACTOR << 16;
} }
// width (presentation) // width (presentation)
bo_add_32be( tkhd, i_width ); bo_add_32be( tkhd, i_width );
......
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