[vlc-commits] [Git][videolan/vlc][master] 2 commits: DVD-Audio: add title length to submodule
Felix Paul Kühne (@fkuehne)
gitlab at videolan.org
Sun Aug 31 16:01:07 UTC 2025
Felix Paul Kühne pushed to branch master at VideoLAN / VLC
Commits:
349f715c by Saifelden Mohamed Ismail at 2025-08-31T15:46:08+00:00
DVD-Audio: add title length to submodule
- - - - -
08fb9578 by Saifelden Mohamed Ismail at 2025-08-31T15:46:08+00:00
access:dvdread: fix chapter selection bug
- - - - -
1 changed file:
- modules/access/dvdread.c
Changes:
=====================================
modules/access/dvdread.c
=====================================
@@ -79,10 +79,10 @@
#ifdef DVDREAD_HAS_DVDAUDIO
#define SET_AREA( p_demux, title, chapter, angle ) \
- (((type) == DVD_A ? DvdAudioReadSetArea : DvdReadSetArea)( p_demux, title, 0, -1 ))
+ (((type) == DVD_A ? DvdAudioReadSetArea : DvdReadSetArea)( p_demux, title, chapter, -1 ))
#else
#define SET_AREA( p_demux, title, chapter, angle ) \
- (DvdReadSetArea( p_demux, title, 0, -1 ))
+ (DvdReadSetArea( p_demux, title, chapter, -1 ))
#endif
/*local prototype*/
@@ -1713,6 +1713,12 @@ static void DemuxTitles( demux_t *p_demux, int *pi_angle )
t = vlc_input_title_New();
+#ifdef DVDREAD_HAS_DVDAUDIO
+ if ( type == DVD_A )
+ t->i_length = FROM_SCALE_NZ( p_sys->p_vmg_file->
+ info_table_second_sector->tracks_info[i].len_audio_zone_pts );
+#endif
+
for( j = 0; j < __MAX( i_chapters, 1 ); j++ )
{
s = vlc_seekpoint_New();
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/ed4469edc59447d39d232e5ae50f154e9696b606...08fb957875e9aa2046cd007ec0ff57731f4326ba
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/ed4469edc59447d39d232e5ae50f154e9696b606...08fb957875e9aa2046cd007ec0ff57731f4326ba
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list