Message info
 
To:gstreamer-bugs@lists.freedesktop.org From:GStreamer Subject:[Bug 673102] [kateenc] Fixed buffer duration Date:Fri, 30 Mar 2012 15:46:37 +0000 (UTC)
 

https://bugzilla.gnome.org/show_bug.cgi?id=673102
GStreamer | gst-plugins-bad | 0.10.22

Vincent Penquerc'h <vincent.penquerch> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |vincent.penquerch@collabora
| |.co.uk

--- Comment #3 from Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> 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: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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
gstreamer-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-bugs