[Android] [PATCH] disable MediaCodec with ".ts" files for all android versions
Martin Storsjö
martin at martin.st
Tue Jan 20 07:51:17 CET 2015
On Tue, 20 Jan 2015, Jean-Baptiste Kempf wrote:
> On 20 Jan, Martin Storsjö wrote :
>> I was about to ask whether those were fixed in lollipop as they should, but
>> then I remembered, the fix in lollipop was only for the crash - now it
>> shouldn't crash any longer (it should only throw an exception and fail more
>> nicely).
>
> Well, the issue is the crash.
That's weird then, because the interlaced sample I used, that crashed
kitkat devices, no longer crashes them in the same way on lollipop, but I
get a nice exception when things fail.
>> Thomas, is this what you're seeing, or does it still crash?
>>
>> (Then whether VLC can fall back nicely to SW decoder in case the HW decoder
>> fails halfway is of course a different issue.) And the third issue would of
>> course be to have qualcomm decoders not fail on interlaced...
>
> And maybe we could detect interlacing, I mean, when parsing the file.
Yep, iirc Felix or someone started working on this. The tricky thing is
that you only know this once you parse the slice header. You could try to
parse these bits in the packetizer somewhere perhaps - I think that was
what he started working on.
> Is it a Qcom only issue?
Yes, only qcom crash on this. And it isn't like completely unsupported,
it's supposed to be supported, but some part of their internal driver (or
is it the driver that expects the calling ACodec code to do something it
doesn't - I don't remember) messes up when this happens.
// Martin
More information about the Android
mailing list