[mythtv] Re:[PATCH] AvFmtDec defaults? (not working)

Paul Woodward paul_woodward at fastnet.co.uk
Fri Nov 19 23:11:52 UTC 2004


Dear all,

I'm running latest CVS with the experimental DVB patch (v2.1). As soon
as I tune to a channel, I get the following error:

2004-11-19 22:57:48.375 Connecting to backend server: 127.0.0.1:6543
(try 1 of 5) 2004-11-19 22:57:48.381 Using protocol version 14
2004-11-19 22:57:48.403 Using protocol version 14 2004-11-19
22:57:48.406 Using protocol version 14 2004-11-19 22:57:49.998
AvFormatDecoder: Could not find decoder for codec (3) aborting.
*** glibc detected *** free(): invalid pointer: 0xafe0d0a8 *** Aborted

Is this related to what's been discussed in this thread?

I tried rolling back to r 1.108, but got compile errors:

g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer
g++ `freetype-config --cflags` -D_REENTRANT -fPIC -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX
-DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS -DUSING_DVB -DUSING_XVMC
-DUSING_XV -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include
-I../../../../dvb-kernel/linux/include -I../libmyth -I.. -Idvbdev
-I../libavcodec -I/usr/lib/qt-3.3/include -o avformatdecoder.o
avformatdecoder.cpp
avformatdecoder.cpp: In member function `void
AvFormatDecoder::InitByteContext()':
avformatdecoder.cpp:240: error: invalid conversion from `void (*)(void*,
uint8_t*, int)' to `int (*)(void*, uint8_t*, int)'
avformatdecoder.cpp: In member function `int
AvFormatDecoder::ScanStreams(bool)':
avformatdecoder.cpp:390: error: `scanAudioTracks' undeclared (first use
this function)
avformatdecoder.cpp:390: error: (Each undeclared identifier is reported
only once for each function it appears in.)
avformatdecoder.cpp: At global scope:
avformatdecoder.cpp:600: error: prototype for `bool
AvFormatDecoder::CheckAudioParams(int, int)' does not match any in class
`AvFormatDecoder'
avformatdecoder.h:115: error: candidate is: void
AvFormatDecoder::CheckAudioParams(int, int, bool)
avformatdecoder.cpp:1003: error: no `bool
AvFormatDecoder::scanAudioTracks()' member function declared in class
`AvFormatDecoder'
avformatdecoder.cpp: In member function `virtual void
AvFormatDecoder::GetFrame(int)':
avformatdecoder.cpp:1121: error: `scanAudioTracks' undeclared (first use
this function)
make[2]: *** [avformatdecoder.o] Error 1
make[2]: Leaving directory `/home/mythtv/cvs/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/home/mythtv/cvs/mythtv/libs'
make: *** [sub-libs] Error 2

Any help would be really appreciated.

Thanks, Paul

-----Original Message-----
From: mythtv-dev-bounces at mythtv.org
[mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of David George
Sent: 25 October 2004 15:59
To: Development of mythtv
Subject: Re: [mythtv] Re:[PATCH] AvFmtDec defaults? (not working)

On 10/25/2004 8:48 AM, Dave wrote:

>For what its worth, I also have this problem on my dvb setup.
>"asked for 0khz and got 48khz"
>
>The fix described below got me sound again, but when I changed channel
>the frontend segfaulted. I'm not sure what is wrong here, but something
>is very broken in CVS as of a day or two ago.
>
>Is noone else having these audio problems??
>  
>
Yes, I have had the same problem with recordings from my PVR-250.  I 
reverted to an earlier avformatdecoder.cpp and problems went away.  I 
didn't have time to troubleshoot and properly submit a trouble report 
though.

(from memory)
cvs update -r 1.108 libs/libmythtv/avformatdecoder.cpp

--
David
_______________________________________________
mythtv-dev mailing list
mythtv-dev at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev




More information about the mythtv-dev mailing list