#12547: MediaPlayer aborts with assertion a->planar failed at
libswresample/swresample.c:284
----------------------------------------+----------------------------
Reporter: markh | Owner: stippi
Type: bug | Status: new
Priority: normal | Milestone: R1/beta1
Component: Applications/MediaPlayer | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------------+----------------------------
Comment (by pulkomandy):
By the time we initialize libswresample, it doesn't know the number of
audio channels yet:
{{{
[SWR @ 0x18778f30] Input channel count and layout are unset
}}}
So, it doesn't initialize properly, and later on, there is an assert() in
the code so it just stops (which is why you don't get the "debug" dialog,
this is a purposeful exit from ffmpeg).
A possible solution is delaying the init as much as possible, to a point
where we are sure the audio channels layout is known.
--
Ticket URL: <https://dev.haiku-os.org/ticket/12547#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.