[mythtv] MHEG BBC iPlayer
lvr at softsystem.co.uk
Fri Sep 30 08:40:17 UTC 2011
On Thu, 2011-09-29 at 22:13 +0100, David Knight wrote:
> On Mon, September 26, 2011 10:54 am, Lawrence Rust wrote:
> > OK, I understand your problem. The build_myth.sh script uses an archive
> > created from the git repo. This process will ignore uncommitted changes
> > so the simple solution is to execute:
> > git commit -am"Add mheg iplayer"
> > after the patch is applied. NB be sure to patch the repo used by the
> > script which by default is:
> > /.../mythpackaging/../mythtv/
> > --
> > Lawrence
> Hi Lawrence, had another go and the commit works but getting a compile
> error now in RingBuffer.o :( - I'm using Fedora 13 on the MythTV box
> Qmake version: 1.07a (Qt 3.3.8b)
> GNU Make 3.81
> RingBuffer.cpp: In member function 'void RingBuffer::OpenFile(const
> QString&, uint)':
> RingBuffer.cpp:314: warning: possible problem detected in invocation of
> delete operator:
> RingBuffer.cpp:314: warning: invalid use of incomplete type 'struct
> RingBuffer.h:25: warning: forward declaration of 'struct NetStream'
I believe this is a difference/problem with the C preprocessor handling
of USING_MHEG. To workaround this I have amended the patch to
RingBuffer.cpp/h to change "#if USING_MHEG" to "#ifdef USING_MHEG".
Perhaps you could try this:
NB you will need to discard the commit made by the old patch:
git reset --hard HEAD^
patch -p1 < iplayer.diff
git commit -am"Add mheg iplayer"
More information about the mythtv-dev