mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-10 17:37:47 +02:00
2024-03-08 Fred Gleason <fredg@paravelsystems.com>
* Added a check to the audio importation system to validate metadata cue point positions relative to the actual audio duration. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
parent
da58e6f355
commit
15f550b9e4
@ -24674,3 +24674,6 @@
|
||||
and update loaded URLs using the 'file:' schema.
|
||||
2024-02-14 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Incremented the package version to v4.1.3int1.
|
||||
2024-03-08 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added a check to the audio importation system to validate metadata
|
||||
cue point positions relative to the actual audio duration.
|
||||
|
@ -369,17 +369,21 @@ bool RDWaveFile::openWave(RDWaveData *data)
|
||||
|
||||
wave_data->setMetadataFound(true);
|
||||
|
||||
if(tags->name)
|
||||
if(tags->name) {
|
||||
wave_data->setTitle(tags->name);
|
||||
if(tags->artist)
|
||||
}
|
||||
if(tags->artist) {
|
||||
wave_data->setArtist(tags->artist);
|
||||
if(tags->composer)
|
||||
}
|
||||
if(tags->composer) {
|
||||
wave_data->setComposer(tags->composer);
|
||||
if(tags->album)
|
||||
}
|
||||
if(tags->album) {
|
||||
wave_data->setAlbum(tags->album);
|
||||
}
|
||||
|
||||
dlmp4.MP4TagsFree(tags);
|
||||
|
||||
wave_data->validateMarkers(ext_time_length);
|
||||
}
|
||||
|
||||
dlmp4.MP4Close(f, 0);
|
||||
@ -481,6 +485,10 @@ bool RDWaveFile::openWave(RDWaveData *data)
|
||||
}
|
||||
lseek(wave_file.handle(),data_start,SEEK_SET);
|
||||
|
||||
if(wave_data) {
|
||||
wave_data->validateMarkers(ext_time_length);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user