Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPL XMl Write, title length limitation #294

Open
akayueh opened this issue Jan 16, 2017 · 1 comment
Open

CPL XMl Write, title length limitation #294

akayueh opened this issue Jan 16, 2017 · 1 comment

Comments

@akayueh
Copy link

akayueh commented Jan 16, 2017

Hi

I noticed in the code the title is hardcoded to 80 characters, if a title is longer than 80, an overflow will cause the filename to be appended with the timestamp which is the next data field in the class, can we please increase this or use the flex vector array in C++

typedef struct {
char uuid[40];
char annotation[128];
char size[18];
char digest[40];
int duration;
int entry_point;
char issuer[80];
char creator[80];
char title[80];
char timestamp[30];
char kind[32];
char rating[32];
char filename[MAX_FILENAME_LENGTH];
int reel_count;
reel_t reel[MAX_REELS];
} cpl_t;

Example:

Desired Title: TheGreatWallMandarinLanguageVersion_RTG_F_EN-XX_AU-M_XX_2K_XX_20170113_ABC_SMPTE_OV

Results: TheGreatWallMandarinLanguageVersion_RTG_F_EN-XX_AU-M_XX_2K_XX_20170113_ABC_SMPTE2017-01-16T02:59:21+00:00

@tmeiczin
Copy link
Owner

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants