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

Nicolas Bertrand nicoinattendu at gmail.com
Wed Dec 11 16:53:59 CET 2013


Le 11/12/2013 16:29, Francois Cartegnie a écrit :
> Le 11/12/2013 14:00, Nicolas Bertrand a écrit :
>
>> +                } else if (node == "Hash") {
>> +                    if ( ReadEndNode(this->p_xmlReader, node, type, s_value))
>> +                        return -1;
>> +                } else if (node == "FrameRate") {
>> +                    if ( ReadEndNode(this->p_xmlReader, node, type, s_value))
>> +                        return -1;
>> +                } else if (node == "ScreenAspectRatio") {
>> +                    if ( ReadEndNode(this->p_xmlReader, node, type, s_value))
>> +                        return -1;
>> +                } else if (node == "Language") {
>> +                    if ( ReadEndNode(this->p_xmlReader, node, type, s_value))
>> +                        return -1;
>> +                } else {
>
> Most cases are sharing the same code
> node == "Hash" || node == "ScreenAspectRatio" || node == "Language" ...
Yes because the storage of Hash / FrameRate/ScreenAspectRatio/Language 
is not used (yet).
Just used for XML parsing of the file.



>
> Francois
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>




More information about the vlc-devel mailing list