[MPlayer-dev-eng] [PATCH] Fix mp_describe_titleset and relatedin stream_dvd.c
Nico Sabbi
nsabbi at email.it
Tue Apr 11 14:33:09 CEST 2006
kiriuja wrote:
> This patch corrects a few problems introduced by the commit that added
> STREAM_CTRL_GET_TIME_LENGTH control in stream_dvd.c:
>
> 1. mp_describe_titleset opened by didn't close a vts if it didn't have
> a vtsi_mat or vts_pgcit.
>
> 2. if(tt_srpt->title[title_no].title_set_nr == vts_no) check moved to
> mp_get_titleset_length and so mp_describe_titleset produced heaps of
> wrong output.
>
> 3. STREAM_CTRL_GET_TIME_LENGTH control wrongly assumed that every title
> has its own vts. Need to use title_set_nr from tt_srpt->title instead.
>
> 4. mp_describe_titleset didn't return a value on success.
>
> Someone please apply.
>
> --
> kiriuja
>
>
looks reasonable, but tonight I want to test it on a couple of dvds I
have before committing it
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Ricevi picture SMS per il tuo cellulare da Jamba!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=4847&d=11-4
More information about the MPlayer-dev-eng
mailing list