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

Francois Cartegnie fcvlcdev at free.fr
Wed Dec 11 16:29:50 CET 2013


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" ...

Francois



More information about the vlc-devel mailing list