Message info From:GStreamer Subject:[Bug 673102] [kateenc] Fixed buffer duration Date:Fri, 30 Mar 2012 15:46:37 +0000 (UTC)
GStreamer | gst-plugins-bad | 0.10.22

Vincent Penquerc'h <vincent.penquerch> changed:

What |Removed |Added
CC| |vincent.penquerch@collabora
| |

--- Comment #3 from Vincent Penquerc'h <> 2012-03-30 15:46:32 UTC ---
> I do no understand what " flush each packet on its own page" could mean...
> unless it was like each subtitle buffer would display on a different frame but
> still it makes no sense to have the wrong duration.. I checked the CMML
> encoder.. found no reference or any similar code...
> Also, I think if there was really a problem with the duration it should be set
> to GST_CLOCK_TIME_NONE, not to G_MAXINT64...

That was for hysterical raisins, and setting a very large packet duration (not
no duration) was the only way to force oggmux to flush a page after the packet.
Without this, oggmux would wait for another page to look at its timestamp
before deciding whether to flush or not, as it was hoping it could wait for
more data to fit more onto a page - but next kate buffer could be seconds or
minutes later.

This is now obsolete as oggmux knows to flush discontinous codecs, but the hack
had been forgotten till bug 668833 was reported.

The original cmmlenc hack was removed in 2010.

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
gstreamer-bugs mailing list