Commit 7d9e6c9c authored by Laurent Aimar's avatar Laurent Aimar

* mp4: fixed a small bug with subtitle.

parent bd080991
...@@ -1565,7 +1565,7 @@ static bo_t *GetMoovBox( sout_mux_t *p_mux ) ...@@ -1565,7 +1565,7 @@ static bo_t *GetMoovBox( sout_mux_t *p_mux )
int i_width = p_stream->fmt.video.i_width; int i_width = p_stream->fmt.video.i_width;
if( p_stream->fmt.video.i_aspect > 0 ) if( p_stream->fmt.video.i_aspect > 0 )
{ {
i_width = tkhd, 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 /
VOUT_ASPECT_FACTOR << 16; VOUT_ASPECT_FACTOR << 16;
} }
......
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