[MPlayer-dev-eng] [GUI][PATCH] DVD cell to chapter conversion

Gregory Kovriga gkovriga at techunix.technion.ac.il
Wed Oct 23 20:51:56 CEST 2002


Frankly I don't know enough here to understand how this could have 
happend without actually debugging it...
This function could return 0 chapter in 2 cases:
1. title < 0 || cell < 0
2. If I'm correct, then in a single ptt (chapter) cell numbers are 
consequtive, right? In this case starting from the chapter with the same 
number as the current cell and down to the chpater 0 all first cells had 
higher number then the  cell we are looking for...

More then that: the function uses only the title number and cell number 
to find the chapter, does it matter in your case if you choose a chapter 
of search to it?

Were it working ok without this patch?

I'm afraid here someone more familiar with DVD navigation should help...

Thanks,
Gregory.

Zoltan Ponekker wrote:

>Hali
>
>  
>
>>Couldn't reproduce this case on my example.
>>How many chapters do you have?
>>    
>>
>
>For example: City of Angels DVD with 40 chapters.
>
>Pontscho
>
>
>_______________________________________________
>MPlayer-dev-eng mailing list
>MPlayer-dev-eng at mplayerhq.hu
>http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>
>
>  
>




More information about the MPlayer-dev-eng mailing list