Commit 7cc5e590 authored by Rafaël Carré's avatar Rafaël Carré Committed by Jean-Paul Saman

TI decoder doesn't like 0x0 frames

But the API says put it to 0 if you don't know !!
Signed-off-by: Jean-Paul Saman's avatarJean-Paul Saman <jean-paul.saman@m2x.nl>
parent f8b6b113
......@@ -327,8 +327,8 @@ int OpenVideoDecoder( vlc_object_t *p_this )
/* Create video decoder */
params.size = sizeof( VIDDEC_Params );
params.maxHeight = p_dec->fmt_in.video.i_height;
params.maxWidth = p_dec->fmt_in.video.i_width;
params.maxHeight = p_dec->fmt_in.video.i_height ?: 720;
params.maxWidth = p_dec->fmt_in.video.i_width ?: 1280;
/* The application should set the parameters to 0 to use the algorithm's default values. */
params.maxFrameRate = 0;
params.maxBitRate = 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