Re: dvbinput.cpp CVS - broken

Alexander Afanasyev <[email protected]>
Newsgroups gmane.comp.video.videolan.vls.devel
Organization BMSTU
Message-ID <[email protected]>
Hi!

One small correction for compiling
lines 279-283:
-- cut --
      delete m_pTrickPlay;
    }
  }
  catch(E_Exception e)
  {
-- cut --
there were absent one '}'.

Now all compiles, but i can't start streaming
(i try libdvb 0.2.2 and 0.4.1 versions)

Here is my logs:

-- telnet cut --
alex@vls> start TET radio1 ss1
Provider: Manager
Error: -1

  Provider: ss1
  Error: -1
  Info: Unable to start program TET
  Info: Error: Unable to create thread
                                      Error: Normal TrickPlay failed to start
-- end cut --


-- log cut --
2003-07-26 23:14:46 [DEBUG/ss1]  In dvbinput.cpp line 511 -> DVB Channel found: TET
1166000
2003-07-26 23:14:59 [INFO/Vls]  Time out !

2003-07-26 23:14:59 [ERROR/ss1]  Read error for program "Input DVB ss1"
*** Exception *** in constructor 1 (0xbfffee50)
*** Exception *** in copy constructor (0x81790e0, copy of 0xbfffee50)
*** Exception *** in destructor (0xbfffee50)
*** Exception *** in copy constructor (0xbfffeed0, copy of 0x81790e0)
*** Exception *** in constructor 2 (0xbfffeeb0)
*** Exception *** in copy constructor (0x8179138, copy of 0xbfffeed0)
*** Exception *** in copy constructor (0x81791c8, copy of 0xbfffeeb0)
*** Exception *** in destructor (0xbfffeeb0)
*** Exception *** in destructor (0xbfffeed0)
*** Exception *** in destructor (0x81790e0)
*** Exception *** in copy constructor (0xbffff100, copy of 0x81791c8)
2003-07-26 23:14:59 [ERROR/ss1]  Unable to start program TET
2003-07-26 23:14:59 [ERROR/ss1]  Error: Unable to create thread
Error: Normal TrickPlay failed to start
*** Exception *** in destructor (0xbffff100)
*** Exception *** in destructor (0x81791c8)
2003-07-26 23:14:59 [DEBUG/Vls]  In src/server/manager.cpp line 494 -> Manager unlocked
-- end cut --

Strange 'Read error for program'. i've got this wher try to
use vls0.5.3 with libdvb-0.4.1...  i tried to understand why
it happens, but... :(


Alexander Afanasyev



Saturday, July 26, 2003, 11:01:23 PM, you wrote:

> Alexander Afanasyev wrote:
>> -- cut --
>> g++  -Wall -D_REENTRANT -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DCONFIG_PATH='"/usr/local/etc/videolan/vls"' -DBUGGY_VLC -DYY_NO_UNPUT -DDEBUG -g
>> -I/root/make/libdvb-0.2.2//include -I/root/make/libdvb-0.2.2/ -D__PLUGIN__  -fPIC -o obj/dvbinput.o -c dvbinput.cpp
>> In file included from dvbinput.cpp:53:
>> /root/make/libdvb-0.2.2/include/DVB.hh:73: 'fe_sec_tone_mode_t' is used as a type, but is not defined as a type.
>> /root/make/libdvb-0.2.2/include/DVB.hh:74: 'fe_sec_voltage_t' is used as a type, but is not defined as a type.
>> /root/make/libdvb-0.2.2/include/DVB.hh:76: field `pesFilterParamsV' has incomplete type
>> /root/make/libdvb-0.2.2/include/DVB.hh:77: field `pesFilterParamsA' has incomplete type
>> /root/make/libdvb-0.2.2/include/DVB.hh:78: field `pesFilterParamsP' has incomplete type
>> /root/make/libdvb-0.2.2/include/DVB.hh:79: field `pesFilterParamsTT' has incomplete type
>> /root/make/libdvb-0.2.2/include/DVB.hh:85: 'fe_status_t' is used as a type, but is not defined as a type.
>> /root/make/libdvb-0.2.2/include/DVB.hh:368: type specifier omitted for parameter `fe_code_rate_t'
>> /root/make/libdvb-0.2.2/include/DVB.hh:368: parse error before `)' token

> Maybe you pointed to the wrong header files?

>> dvbinput.cpp: In member function `virtual void C_DvbInput::OnInit()':
>> dvbinput.cpp:230: `class C_MpegConverterConfig' has no member named `m_pHandler'
>> dvbinput.cpp:231: `class C_MpegConverterConfig' has no member named `m_iInitFill'
>> dvbinput.cpp: In member function `virtual void C_DvbInput::OnDestroy()':
>> dvbinput.cpp:278: no matching function for call to `C_MpegConverter::IsRunning()'
>> dvbinput.cpp:280: no matching function for call to `C_MpegConverter::Stop()'
>> dvbinput.cpp:289: parse error before `catch'
>> dvbinput.cpp:294: `e' undeclared (first use this function)
>> dvbinput.cpp:294: (Each undeclared identifier is reported only once for each function it appears in.)
>> dvbinput.cpp:297: must have at least one catch per try block
>> dvbinput.cpp: In member function `virtual void C_DvbInput::OnSelectPid(short unsigned int, unsigned char)':
>> dvbinput.cpp:347: aggregate `dmx_pes_filter_params pesFilterParams' has incomplete type and cannot be defined
>> dvbinput.cpp: In member function `virtual void C_DvbInput::OnStartStreaming(C_Broadcast*)':
>> dvbinput.cpp:532: no matching function for call to `C_MpegConverter::Create()'
>> dvbinput.cpp: In member function `virtual void C_DvbInput::OnStopStreaming(C_Broadcast*)':
>> dvbinput.cpp:654: no matching function for call to `C_MpegConverter::Stop()'
>> make[1]: *** [obj/dvbinput.o] Error 1
>> make[1]: Leave dir `/root/make/vls-20030726/src/modules/dvbinput'
>> make: *** [dvbinput] Error 2
>> -- cut --
>> 
>> i not found C_MpegConverter::IsRunning(), C_MpegConverter::Stop()
>> and other... maybe here was some changes...
>> 

> The C_MpegConverter and C_MpegConverterConfig went through a big change. 
> It used to be a thread, but that logic moved to the next another new 
> object (TrickPlay). I was not able to test that change for DVBinput and 
> V4Linput due to a lack of hardware ;-)

> If you do the testing, then I'll help with debugging the code. I was the 
> one that broke the CVS in this area ;-)

> P.S.: Do a: cvs -z3 -q update -d -P

> Grtz,
> Jean-Paul Saman.

-- 
This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.