[vlc-devel] Severe A/V asynchronous with hardware acceleration on android
scottlin at condel-tech.com
Tue May 8 03:02:14 CEST 2012
2012/5/8 XilasZ <xilasz at gmail.com>
> Anyway, I think the issue might be solved for you with the following
>> diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
>> index 80d327e..9ac4875 100644
>> --- a/modules/codec/omxil/omxil.c
>> +++ b/modules/codec/omxil/omxil.c
>> @@ -460,6 +460,8 @@ static OMX_ERRORTYPE GetPortDefinition(decoder_t
>> *p_dec, OmxPort *p_port,
>> omx_error = OMX_GetConfig(p_port->omx_**handle, OMX_**IndexConfigCommonOutputCrop,
>> if (omx_error == OMX_ErrorNone)
>> + if (!def->format.video.**nSliceHeight)
>> + def->format.video.nSliceHeight = def->format.video.**
>> p_fmt->video.i_width = crop_rect.nWidth;
>> p_fmt->video.i_visible_width = crop_rect.nWidth;
>> p_fmt->video.i_height = crop_rect.nHeight;
>> Please try that - if it works, I'll try to see if it works regression
>> free on the other devices I've got access to.
> It fixes the issue for me, image looks good again.
Works for me, too. Thank you Martin.
May I ask what is vlc doing when def->format.video.nSliceHeight = 0 ?
I saw the workaround which makes def->format.video.nSliceHeight = 0 for
And what is the relationship between nSliceHeight and nFramHeight ?
But it's still not usable on the OneX. Big a/v desync, video feed is
> clearly below 25fps.
> Also i got no images at all for some files which plays fine on the desire.
> Anyway, with a regular 720p file, SW decoding is currently faster than HW
> decoding, strange :p
Same here. And no luck for 1080p file in SW decoding.
Thank you all.
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel