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

Higher default settings for frame size to HD 720

Signed-off-by: Jean-Paul Saman's avatarJean-Paul Saman <jean-paul.saman@m2x.nl>
parent 55c0b7dc
......@@ -123,11 +123,14 @@ int OpenVideoDecoder( vlc_object_t *p_this )
/* Create video decoder */
params.size = sizeof( VIDDEC_Params );
params.maxHeight = p_dec->fmt_in.video.i_height?:576;
params.maxWidth = p_dec->fmt_in.video.i_width?:720;
/* FIXME: put maximum settings accepted by the hardware */
params.maxHeight = p_dec->fmt_in.video.i_height ?: 720;
params.maxWidth = p_dec->fmt_in.video.i_width ?: 1280;
params.maxFrameRate = 25000; /* in frames per 1000 seconds */
params.maxBitRate = 1000000; /* in bits per second */
params.dataEndianness = XDM_BYTE;//LE_32;
params.dataEndianness = XDM_BYTE;
params.forceChromaFormat = VlcChromaToXdm( i_chroma );
if( params.forceChromaFormat == XDM_CHROMA_NA )
{
......@@ -396,7 +399,7 @@ error:
if( p_pic && p_pic->pf_release )
p_pic->pf_release( p_pic );
/* Do we really need this everytime? (like if buffer memory allocation fails we could keep the block) */
block_Release( p_block );
block_Release( p_block );
return NULL;
}
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