After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 604908 - [mpegtsmux] mark delta-unit on outgoing buffers
[mpegtsmux] mark delta-unit on outgoing buffers
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 0.10.18
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 608896
 
 
Reported: 2009-12-18 13:18 UTC by Marc-Andre Lureau
Modified: 2010-02-04 09:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
mark delta-unit on outgoing buffers (6.17 KB, patch)
2009-12-18 13:18 UTC, Marc-Andre Lureau
committed Details | Review
mpegtsmux: marking non-delta unit, including pre-sections (6.45 KB, patch)
2010-01-27 17:06 UTC, Marc-Andre Lureau
none Details | Review
mpegtsmux: marking non-delta unit, including pre-sections (6.47 KB, patch)
2010-02-03 15:43 UTC, Marc-Andre Lureau
committed Details | Review

Description Marc-Andre Lureau 2009-12-18 13:18:35 UTC
Created attachment 149990 [details] [review]
mark delta-unit on outgoing buffers

see patch
Comment 1 Edward Hervey 2010-01-08 12:01:48 UTC
Makes sense, the use-case is to figure out where keyframes are located in the output stream, in order to do some splitting downstream at keyframe locations.
Comment 2 Edward Hervey 2010-01-08 12:16:47 UTC
commit 5fab65aafbde8d05a202995c7756065a7eddd3a6
Author: Thomas Vander Stichele <thomas@apestaart.org>
Date:   Fri Dec 18 14:14:17 2009 +0100

    mpegtsmux: mark delta-unit on outgoing buffers
    
    Signed-off-by: Marc-André Lureau <mlureau@flumotion.com>
Comment 3 Marc-Andre Lureau 2010-01-27 17:05:29 UTC
reopening, since I found an issue with the patch from this bug
Comment 4 Marc-Andre Lureau 2010-01-27 17:06:06 UTC
Created attachment 152431 [details] [review]
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.
Comment 5 Marc-Andre Lureau 2010-02-03 15:43:17 UTC
Created attachment 152924 [details] [review]
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.
Comment 6 Marc-Andre Lureau 2010-02-03 15:50:15 UTC
Review of attachment 149990 [details] [review]:

this patch has been committed a while back
Comment 7 Zaheer Abbas Merali 2010-02-03 16:00:39 UTC
Review of attachment 152924 [details] [review]:

Looks good
Comment 8 Marc-Andre Lureau 2010-02-04 09:14:19 UTC
patch committed by Zaheer
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.