[mythtv-commits] Ticket #9754: Audio upmixer fails to open codec after FFmpeg sync
MythTV
noreply at mythtv.org
Wed Apr 27 04:49:38 UTC 2011
#9754: Audio upmixer fails to open codec after FFmpeg sync
-------------------------------------+-------------------------------------
Reporter: gregorio.gervasio@… | Type: Bug Report -
Status: new | General
Milestone: unknown | Priority: minor
Version: Unspecified | Component: MythTV - General
Keywords: | Severity: medium
| Ticket locked: 0
-------------------------------------+-------------------------------------
Using audio upmixer, avcodec_open gives this error message:
"Specified sample_fmt is not supported."
Since there is no error code returned, execution proceeds until there is
then a floating point exception in AudioOutputBase::AddData when
calculating maxlength because encoder->FrameSize() is zero.
The attached patch seems to fix it. Also, there is now a floating-point
AC3 encoder available so the patch includes a change to select the encoder
by name.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9754>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list