[MPlayer-dev-eng] [PATCH] DVDNAV Still frames supprt

Ötvös Attila oattila at chello.hu
Fri Jan 25 23:51:48 CET 2008


Ezzel a dátummal: Friday 25 January 2008 23.42.25 Benjamin Zores ezt írta:
Hi Ben!

> Ok, I'll add this then.
> I can't reproduce this however.
> Out of curiosity, does the 10s value has a sense or is it just an
> arbitrary value you choose (it's set in stream_dvdnav.c I know that) ?

Only example 10s.

Relevant part in stream_dvdnav.c:

      case DVDNAV_STILL_FRAME: {
        dvdnav_still_event_t *still_event = (dvdnav_still_event_t *) buf;
        priv->still_length = still_event->length;
        /* set still frame duration */
        priv->duration = dvdnav_get_duration (priv->still_length);
        if (priv->still_length <= 1) {
          pci_t *pnavpci = dvdnav_get_current_nav_pci (priv->dvdnav);
          priv->duration = mp_dvdtimetomsec (&pnavpci->pci_gi.e_eltm);
        }
        break;
      }

10s if still_event->lenght=10.

Best regard.
Attila



More information about the MPlayer-dev-eng mailing list