[MPlayer-dev-eng] [PATCH] dvdnav - partial REVIEW
Ötvös Attila
oattila at chello.hu
Tue May 23 11:51:33 CEST 2006
2006. május 23. 01.43 dátummal James Courtier-Dutton ezt írta:
> What changes are being made to libdvdnav to get it to fit mplayer?
> I project manage the libdvdnav project, so I would be interested to hear
> what changes you have in mind. I might also have some helpful
> suggestions if I knew what you were doing with it.
> I had the impression that libdvdnav would require some considerable
> rework to fit in well with mplayer architecture, but I never had time to
> do the libdvdnav rework. Are you doing it for me? :-)
Hi James Courtier-Dutton!
I modified the libdvdnav for mplayer:
dvdnav_get_audio_attr()
dvdnav_get_spu_attr()
These sherve to the mplayer can query the audio, spu language code and
the audio type (stereo, 5.1, dolby digital, etc.).
Because of the still frames decoding error so get needed the repeat of
these pgc-s this is way I created new functions:
dvdnav_still_back() - repeat of the still frame cell (pgc)
dvdnav_wait_back() - repeat of the cell (pgc)
(but this functions don't reprocess dvd pre-commands)
dvdnav_wait_still_clear() - end of the repeat
dvdnav_is_still_cell() - Is it a still frame? (it doesn't probably need)
dvdnav_button_auto_action() - enable/disable of the button auto action
At the cell change event to processing the mplayer needs to deterimne
if the change is real or only repeat:
dvdnav_get_pgc() - quering of the current pgc number
New functions sice my last post to devel mail list:
dvdnav_get_active_audio_stream()
dvdnav_get_active_spu_stream()
If menu spu id not default then mplayer query the spu id that's way mplayer
show correct spu.
Best regards!
Attila
More information about the MPlayer-dev-eng
mailing list