[vlc-devel] [PATCHv11] dcp: Creation of access-demux module for DCP

Nicolas Bertrand nicoinattendu at gmail.com
Tue Dec 10 13:06:55 CET 2013


Le 05/12/2013 15:33, Denis Charmet a écrit :
>> +PKL::PKL(demux_t * p_demux, string s_path, AssetList *_asset_list, string s):
>> >+    XmlFile(p_demux, s_path),
>> >+    asset_list(_asset_list), s_dcp_path(s)
> why not type(XML_PKL)?
>> >+{
>> >+    type = XML_PKL;
>> >+}
Basically, because I don't know how to write it. type is protected in 
XmlFile

And if i write
PKL::PKL(demux_t * p_demux, string s_path, AssetList *_asset_list, 
string s):
     XmlFile(p_demux, s_path),
	asset_list(_asset_list), s_dcp_path(s), type(XML_PKL) {};
The compiler complains on
../../modules/access/dcp/dcpparser.cpp:679:45: erreur: class ‘PKL’ does 
not have any field named ‘type’
../../modules/access/dcp/dcpparser.cpp: In member function ‘virtual int 
PKL::Parse()’:





More information about the vlc-devel mailing list