From: James Courtier-D. <Ja...@su...> - 2001-11-13 13:57:34
|
Hello The current version of xine totally fails to play some DVDs with dvdnav. I think this is either caused by a bug in the sync code, or a buffer problem. Most likely a sync code problem. I think we should take a approach below for the syncing using SCR to the system clock. Quote from H}kan Hjort [d95...@dt...] As for the clock, we have several parallel clocks.. when a discontinuity is detected a new clock id is attached to the buffers from that point on. The clock id is then handed to the function (for you the metronome) that translates the PTSs to real time, this way packets with both the old and the new clock id's can be processed and even output at the same time. For example the last few images that still have time stamps interpolated from an old PTS stamp (the I frames on most DVDs) might be displayed while the first samples of an ac3 audio packet with a new PTS are output to the sound card. Cheers James -- Nothing in this world is exactly what it appears to be. |