MythTV wrote:
#368: Teletext patch for DVB/IVTV cards
-----------------------------------------------------+----------------------
Reporter: Frank Muenchow (beebof -at- gmx dot de) | Owner: danielk Type: patch | Status: assigned Priority: minor | Milestone: 0.20 Component: mythtv | Version: head Severity: low | Resolution: -----------------------------------------------------+----------------------
Comment (by danielk):

 (In [8241]) References #368.

 More of Frank Muenchow's patch.

 This adds decoding for field 2 w/ivtv, so we can now decode XDS.
 XDS tells you about the channel, program name, V-Chip, time, etc.

 This also adds decoding for VPS and WSS; these are printed out
 when you run with '-v vbi'. The VPS info would of course be
 more useful on the backend, but that is left as an exersize
 for people in PAL land. The WSS info could be very useful on
 the frontend as it tells you the aspect ratio of analog
 transmissons...


I get a compile error when I try out the latest version of this patch. It applied fine but during compile I got (gcc version 3.3.6, qt-3.3.4) :

make[2]: Entering directory `/mnt/net/stuff/tvbox/current/mythtv/libs/libmythtv' ccache g++ -c -pipe -mcpu=pentium-mmx -Wall -W -O3 -Wall -Wno-switch -fomit-frame-pointer `freetype-config --cflags` -D_REENTRANT -DPIC -fPIC -DMMX -Di386 -DUSING_DBOX2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr\" -D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_XV -DUSING_XVMC -DUSING_XVMC_VLD -DUSING_FRONTEND -DUSING_V4L -DUSING_IVTV -DUSING_DVB -DUSING_DVB_EIT -DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -I/usr/lib/qt/mkspecs/default -I. -I/usr/include -I/usr/include -I/usr/X11R6/include -I../.. -I../libmyth -I.. -Idvbdev -Impeg -I../libavcodec -I../libavutil -I../libmythmpeg2 -I/usr/lib/qt/include -o teletextdecoder.o teletextdecoder.cpp
In file included from teletextdecoder.cpp:544:
ivtv_myth.h:19: error: redefinition of `struct ivtv_sliced_vbi_format'
ivtv_myth.h:19: error: previous definition of `struct ivtv_sliced_vbi_format'
ivtv_myth.h:28: error: redefinition of `struct ivtv_sliced_data'
ivtv_myth.h:28: error: previous definition of `struct ivtv_sliced_data'
ivtv_myth.h:105: error: redefinition of `struct ivtv_ioctl_fwapi'
ivtv_myth.h:105: error: previous definition of `struct ivtv_ioctl_fwapi'
ivtv_myth.h:112: error: redefinition of `struct ivtv_ioctl_framesync'
ivtv_myth.h:112: error: previous definition of `struct ivtv_ioctl_framesync'
ivtv_myth.h:118: error: redefinition of `struct ivtv_speed'
ivtv_myth.h:118: error: previous definition of `struct ivtv_speed'
ivtv_myth.h:130: error: redefinition of `struct ivtv_slow_fast'
ivtv_myth.h:130: error: previous definition of `struct ivtv_slow_fast'
ivtv_myth.h:135: error: redefinition of `struct ivtv_cfg_start_decode'
ivtv_myth.h:135: error: previous definition of `struct ivtv_cfg_start_decode'
ivtv_myth.h:140: error: redefinition of `struct ivtv_cfg_stop_decode'
ivtv_myth.h:140: error: previous definition of `struct ivtv_cfg_stop_decode'
ivtv_myth.h:148: error: redefinition of `struct ivtv_ioctl_codec'
ivtv_myth.h:148: error: previous definition of `struct ivtv_ioctl_codec'
ivtv_myth.h:167: error: redefinition of `struct msp_matrix'
ivtv_myth.h:167: error: previous definition of `struct msp_matrix'
ivtv_myth.h:175: error: redefinition of `struct ivtvfb_ioctl_state_info'
ivtv_myth.h:175: error: previous definition of `struct ivtvfb_ioctl_state_info'
ivtv_myth.h:180: error: redefinition of `struct ivtvfb_ioctl_blt_copy_args'
ivtv_myth.h:180: error: previous definition of `struct
   ivtvfb_ioctl_blt_copy_args'
ivtv_myth.h:184: error: redefinition of `struct ivtvfb_ioctl_blt_fill_args'
ivtv_myth.h:184: error: previous definition of `struct
   ivtvfb_ioctl_blt_fill_args'
ivtv_myth.h:190: error: redefinition of `struct
   ivtvfb_ioctl_dma_host_to_ivtv_args'
ivtv_myth.h:190: error: previous definition of `struct
   ivtvfb_ioctl_dma_host_to_ivtv_args'
ivtv_myth.h:196: error: redefinition of `struct ivtvfb_ioctl_get_frame_buffer'
ivtv_myth.h:196: error: previous definition of `struct
   ivtvfb_ioctl_get_frame_buffer'
ivtv_myth.h:203: error: redefinition of `struct ivtv_osd_coords'
ivtv_myth.h:203: error: previous definition of `struct ivtv_osd_coords'
ivtv_myth.h:212: error: redefinition of `struct rectangle'
ivtv_myth.h:212: error: previous definition of `struct rectangle'
teletextdecoder.cpp:561: error: redefinition of `
   TeletextDecoder::TeletextDecoder()'
teletextdecoder.cpp:43: error: `TeletextDecoder::TeletextDecoder()' previously
   defined here
teletextdecoder.cpp:561: error: no `TeletextDecoder::TeletextDecoder()' member
   function declared in class `TeletextDecoder'
teletextdecoder.cpp:586: error: redefinition of `
   TeletextDecoder::~TeletextDecoder()'
teletextdecoder.cpp:68: error: `virtual TeletextDecoder::~TeletextDecoder()'
   previously defined here
teletextdecoder.cpp:586: error: no `TeletextDecoder::~TeletextDecoder()' member
   function declared in class `TeletextDecoder'
teletextdecoder.cpp:594: error: redefinition of `void TeletextDecoder::Reset()'
teletextdecoder.cpp:76: error: `void TeletextDecoder::Reset()' previously
   defined here
teletextdecoder.cpp:594: error: no `void TeletextDecoder::Reset()' member
   function declared in class `TeletextDecoder'
teletextdecoder.cpp:615: error: redefinition of `bool
   TeletextDecoder::FindPage(int, int, TeletextPage**)'
teletextdecoder.cpp:97: error: `bool TeletextDecoder::FindPage(int, int,
   TeletextPage**)' previously defined here
teletextdecoder.cpp:615: error: no `bool TeletextDecoder::FindPage(int, int,
   TeletextPage**)' member function declared in class `TeletextDecoder'
teletextdecoder.cpp:704: error: redefinition of `void
   TeletextDecoder::Decode(const uint8_t*, int)'
teletextdecoder.cpp:186: error: `void TeletextDecoder::Decode(const uint8_t*,
   int)' previously defined here
teletextdecoder.cpp:704: error: no `void TeletextDecoder::Decode(const
   uint8_t*, int)' member function declared in class `TeletextDecoder'
teletextdecoder.cpp:1023: error: redefinition of `void
   TeletextDecoder::SetViewer(OSDTypeTeletext*)'
teletextdecoder.cpp:505: error: `void
   TeletextDecoder::SetViewer(OSDTypeTeletext*)' previously defined here
teletextdecoder.cpp:1023: error: no `void
TeletextDecoder::SetViewer(OSDTypeTeletext*)' member function declared in
   class `TeletextDecoder'
teletextdecoder.cpp:1033: error: redefinition of `int
   TeletextDecoder::GetDecoderType() const'
teletextdecoder.cpp:515: error: `int TeletextDecoder::GetDecoderType() const'
   previously defined here
teletextdecoder.cpp:1033: error: no `int TeletextDecoder::GetDecoderType()
   const' member function declared in class `TeletextDecoder'
In file included from teletextdecoder.cpp:1062:
ivtv_myth.h:19: error: redefinition of `struct ivtv_sliced_vbi_format'
ivtv_myth.h:19: error: previous definition of `struct ivtv_sliced_vbi_format'
ivtv_myth.h:28: error: redefinition of `struct ivtv_sliced_data'
ivtv_myth.h:28: error: previous definition of `struct ivtv_sliced_data'
ivtv_myth.h:105: error: redefinition of `struct ivtv_ioctl_fwapi'
ivtv_myth.h:105: error: previous definition of `struct ivtv_ioctl_fwapi'
ivtv_myth.h:112: error: redefinition of `struct ivtv_ioctl_framesync'
ivtv_myth.h:112: error: previous definition of `struct ivtv_ioctl_framesync'
ivtv_myth.h:118: error: redefinition of `struct ivtv_speed'
ivtv_myth.h:118: error: previous definition of `struct ivtv_speed'
ivtv_myth.h:130: error: redefinition of `struct ivtv_slow_fast'
ivtv_myth.h:130: error: previous definition of `struct ivtv_slow_fast'
ivtv_myth.h:135: error: redefinition of `struct ivtv_cfg_start_decode'
ivtv_myth.h:135: error: previous definition of `struct ivtv_cfg_start_decode'
ivtv_myth.h:140: error: redefinition of `struct ivtv_cfg_stop_decode'
ivtv_myth.h:140: error: previous definition of `struct ivtv_cfg_stop_decode'
ivtv_myth.h:148: error: redefinition of `struct ivtv_ioctl_codec'
ivtv_myth.h:148: error: previous definition of `struct ivtv_ioctl_codec'
ivtv_myth.h:167: error: redefinition of `struct msp_matrix'
ivtv_myth.h:167: error: previous definition of `struct msp_matrix'
ivtv_myth.h:175: error: redefinition of `struct ivtvfb_ioctl_state_info'
ivtv_myth.h:175: error: previous definition of `struct ivtvfb_ioctl_state_info'
ivtv_myth.h:180: error: redefinition of `struct ivtvfb_ioctl_blt_copy_args'
ivtv_myth.h:180: error: previous definition of `struct
   ivtvfb_ioctl_blt_copy_args'
ivtv_myth.h:184: error: redefinition of `struct ivtvfb_ioctl_blt_fill_args'
ivtv_myth.h:184: error: previous definition of `struct
   ivtvfb_ioctl_blt_fill_args'
ivtv_myth.h:190: error: redefinition of `struct
   ivtvfb_ioctl_dma_host_to_ivtv_args'
ivtv_myth.h:190: error: previous definition of `struct
   ivtvfb_ioctl_dma_host_to_ivtv_args'
ivtv_myth.h:196: error: redefinition of `struct ivtvfb_ioctl_get_frame_buffer'
ivtv_myth.h:196: error: previous definition of `struct
   ivtvfb_ioctl_get_frame_buffer'
ivtv_myth.h:203: error: redefinition of `struct ivtv_osd_coords'
ivtv_myth.h:203: error: previous definition of `struct ivtv_osd_coords'
ivtv_myth.h:212: error: redefinition of `struct rectangle'
ivtv_myth.h:212: error: previous definition of `struct rectangle'
teletextdecoder.cpp:1079: error: redefinition of `
   TeletextDecoder::TeletextDecoder()'
teletextdecoder.cpp:43: error: `TeletextDecoder::TeletextDecoder()' previously
   defined here
teletextdecoder.cpp:1079: error: no `TeletextDecoder::TeletextDecoder()' member
   function declared in class `TeletextDecoder'
teletextdecoder.cpp:1104: error: redefinition of `
   TeletextDecoder::~TeletextDecoder()'
teletextdecoder.cpp:68: error: `virtual TeletextDecoder::~TeletextDecoder()'
   previously defined here
teletextdecoder.cpp:1104: error: no `TeletextDecoder::~TeletextDecoder()'
   member function declared in class `TeletextDecoder'
teletextdecoder.cpp:1112: error: redefinition of `void TeletextDecoder::Reset()
   '
teletextdecoder.cpp:76: error: `void TeletextDecoder::Reset()' previously
   defined here
teletextdecoder.cpp:1112: error: no `void TeletextDecoder::Reset()' member
   function declared in class `TeletextDecoder'
teletextdecoder.cpp:1133: error: redefinition of `bool
   TeletextDecoder::FindPage(int, int, TeletextPage**)'
teletextdecoder.cpp:97: error: `bool TeletextDecoder::FindPage(int, int,
   TeletextPage**)' previously defined here
teletextdecoder.cpp:1133: error: no `bool TeletextDecoder::FindPage(int, int,
   TeletextPage**)' member function declared in class `TeletextDecoder'
teletextdecoder.cpp:1222: error: redefinition of `void
   TeletextDecoder::Decode(const uint8_t*, int)'
teletextdecoder.cpp:186: error: `void TeletextDecoder::Decode(const uint8_t*,
   int)' previously defined here
teletextdecoder.cpp:1222: error: no `void TeletextDecoder::Decode(const
   uint8_t*, int)' member function declared in class `TeletextDecoder'
teletextdecoder.cpp:1541: error: redefinition of `void
   TeletextDecoder::SetViewer(OSDTypeTeletext*)'
teletextdecoder.cpp:505: error: `void
   TeletextDecoder::SetViewer(OSDTypeTeletext*)' previously defined here
teletextdecoder.cpp:1541: error: no `void
TeletextDecoder::SetViewer(OSDTypeTeletext*)' member function declared in
   class `TeletextDecoder'
teletextdecoder.cpp:1551: error: redefinition of `int
   TeletextDecoder::GetDecoderType() const'
teletextdecoder.cpp:515: error: `int TeletextDecoder::GetDecoderType() const'
   previously defined here
teletextdecoder.cpp:1551: error: no `int TeletextDecoder::GetDecoderType()
   const' member function declared in class `TeletextDecoder'
teletextdecoder.cpp:1084: confused by earlier errors, bailing out
make[2]: *** [teletextdecoder.o] Error 1


_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to