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

Denis Charmet typx at dinauz.org
Fri Dec 13 01:17:34 CET 2013


Le mercredi 11 décembre 2013 à 02:00:14, Nicolas Bertrand a écrit :
> +/* This struct stores the most important information about the DCP */
> +struct dcp_t
> +{
> +    string path;                    /* Path to DCP directory */
> +
> +    vector<PKL *> pkls;
> +    AssetList *p_asset_list;
> +
> +    string videofile;               /* Picture file name */
> +    string audiofile;               /* Sound file name */
> +
> +    int i_video_entry;              /* Picture entry point */
> +    int i_audio_entry;              /* Sound entry point */
> +
> +
> +    ~dcp_t( ) {
> +        vlc_delete_all(pkls);
if(p_asset_list)
{
> +        vlc_delete_all(*p_asset_list);
> +        delete(p_asset_list);
}
It crashes if no asset map is found.
> +    }
> +};

Regards,
-- 
Denis Charmet - TypX
Le mauvais esprit est un art de vivre



More information about the vlc-devel mailing list