mpegtsmux: marking non-delta unit, including pre-sections
authorMarc-André Lureau <mlureau@flumotion.com>
Wed, 27 Jan 2010 15:29:00 +0000 (16:29 +0100)
committerZaheer Abbas Merali <zaheerabbas@merali.org>
Wed, 3 Feb 2010 16:37:27 +0000 (16:37 +0000)
commit6d554a55603ef94d6b53ac61a4d4b767bd88c071
treef0a5c4785d99e6bc323f094fa6ffbf11138cea5b
parent6c6ea0b79b90b2d13f8e18e9115e1ae4bc347e8e
mpegtsmux: marking non-delta unit, including pre-sections

This patch address the issue observed with KF timestamps
and delta flag. When a section is appended before the keyframe,
it is not marked as non-delta. It's preferable to mark the
first buffer non-delta.

This patch also simplify the initial patch written by thomas,
since it does not clutter tsmux/ with a delta flag passed
around only for GStreamer convenience.

https://bugzilla.gnome.org/show_bug.cgi?id=604908
gst/mpegtsmux/mpegtsmux.c
gst/mpegtsmux/mpegtsmux.h
gst/mpegtsmux/tsmux/tsmux.c
gst/mpegtsmux/tsmux/tsmux.h