[mythtv-commits] Re: Ticket #145: SEGFAULT if an mpeg stream begins
with no audio, then later acquires it.
MythTV
mythtv at cvs.mythtv.org
Fri Jul 29 13:01:33 EDT 2005
#145: SEGFAULT if an mpeg stream begins with no audio, then later acquires it.
--------------------+-------------------------------------------------------
Id: 145 | Status: new
Component: mythtv | Modified: Fri Jul 29 17:01:33 2005
Severity: medium | Milestone:
Priority: minor | Version:
Owner: ijr | Reporter: danielk
--------------------+-------------------------------------------------------
Comment (by danielk):
(In [6959]) This addresses #145.
I discovered that the problem is that something in the libav or
avformatdecoder overwrites the avformatdecoder class with audio
data. I haven't figured out where this is happening, but by
allocating the audio buffer on the heap, instead of as an
array in avformatdecoder, the SEGFAULT doesn't happen.
However the video has a few lines of bright green on the top of video.
And those blocks move about a bit on the P & B frames. It's almost as
if a slice was missing. The sound is working, so I'm not sure what is
going on.
This commit also cleans up variable initialization in the involved
classes and provides a couple Set's & Get's for the NVP and
RecorderBase pointers in RecorderBase and NVP, respectively.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/145>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list