[MPlayer-dev-eng] [PATCH] dvdnav part 2 - still frames

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Aug 3 23:40:21 CEST 2007


Hi Nico!

Nico Sabbi <nsabbi <at> email.it> writes:

> Index: stream_dvd.c
> ===================================================================
> --- stream_dvd.c        (revisione 23866)
> +++ stream_dvd.c        (copia locale)
>  <at>  <at>  -517,7 +517,7  <at>  <at> 
>  \param *dev the DVD time structure to convert
>  \return returns the time in milliseconds
>  */
> -static int dvdtimetomsec(dvd_time_t *dt)
> +int mp_dvdtimetomsec(dvd_time_t *dt)
>  {
>    static int framerates[4] = {0, 2500, 0, 2997};
>    int framerate = framerates[(dt->frame_u & 0xc0) >> 6];
>  <at>  <at>  -528,6 +528,7  <at>  <at> 
>      msec += (((dt->frame_u & 0x30) >> 3) * 5 + (dt->frame_u & 0x0f)) * 
> 100000 / framerate;
>    return msec;
>  }
> +#define dvdtimetomsec mp_dvdtimetomsec
> 
>  static int mp_get_titleset_length(ifo_handle_t *vts_file, tt_srpt_t 
> *tt_srpt, int title_no)
>  {

So it's not possible to configure mplayer so stream_dvdnav.c is compiled, but
stream_dvd.c is not?

I thought ./configure --disable-dvdread --disable-dvdread-internal would produce
this situation.

Carl Eugen





More information about the MPlayer-dev-eng mailing list