GNOME Bugzilla – Bug 308827
ogg muxer in 0.8 muxes wrong
Last modified: 2005-06-24 17:39:27 UTC
it muxes based on the timestamp matching the granulepos of the *first packet* going on a page. it should mux based on timestamp matching the granulepos set on a completed page.
Created attachment 48228 [details] [review] push out pages sorted by timestamp matching page granulepos when pages get output, put them on a per-pad queue. dequeue regularly, taking the page with the lowest timestamp, but only if all per-pad queues have pages. push that page.
Created attachment 48255 [details] [review] updated patch updated patch; correctly handles -1 granulepos, and fixes wrong timestamping when packets span pages
cleaned up and commited to cvs, fixed.