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 679958 - oggmux unit test fails: should flag all out buffers as DELTA units except those with video key units
oggmux unit test fails: should flag all out buffers as DELTA units except tho...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.37
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-15 12:29 UTC by D.S. (Spider) Ljungmark
Modified: 2012-08-10 09:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description D.S. (Spider) Ljungmark 2012-07-15 12:29:15 UTC
Jhbuild (git from master, 3.6 module set) of gst-plugins-base fails with the following test:

Running suite(s): oggmux
71%: Checks: 7, Failures: 2, Errors: 0
pipelines/oggmux.c:196:F:general:test_vorbis_theora:0: Non-video buffer doesn't have DELTA_UNIT in stream with video
pipelines/oggmux.c:196:F:general:test_theora_vorbis:0: Non-video buffer doesn't have DELTA_UNIT in stream with video
FAIL: pipelines/oggmux


built on Fedora 17  ( up to date )
Comment 1 Tim-Philipp Müller 2012-08-07 10:58:35 UTC
Known issue. A couple of other tests still fail too. Help would be appreciated :)
Comment 2 Tim-Philipp Müller 2012-08-09 08:58:25 UTC
Right, so the test wants all non-video (read: audio) buffers on the oggmux *output* side to be marked as DELTA_UNITS.

I'm guessing this is so that e.g. multifdsink and friends can cache back to the last keyframe and send that data to clients as initial burst to make things show up faster.

So I guess this is desirable and should probably be fixed.
Comment 3 Tim-Philipp Müller 2012-08-10 00:18:47 UTC
Sorry, didn't realise that this was broken in 0.10 as well, just assumed someone would have noticed before :)

No idea yet what might've broken this yet, perhaps something audio/video base class-related, since the oggmux diff to the last release is minimal.
Comment 4 Tim-Philipp Müller 2012-08-10 00:38:19 UTC
Looks like changes in theoraenc are causing this somehow (only difference I noticed was that new theoraenc doesn't flag header buffers as delta units any longer, which seems right though).
Comment 5 Tim-Philipp Müller 2012-08-10 09:51:00 UTC
commit 2720abd8b3a4a934b0e6c1ee59b718967aad23d2
Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Fri Aug 10 10:45:09 2012 +0100

    oggmux: pick delta pad earlier during header parsing and based on video/non-video
    
    Pick delta pad earlier during header parsing, and pick it based
    on whether it's a video stream or not rather than some rather
    byzantine signalling from theoraenc etc. which would set the delta
    flag on header packets which oggmux would then pick up and determine
    that this is a "delta-able" stream.
    
    Since the new videodecoder-based theoraenc didn't do that any more,
    we would only see the first delta flag on the second video packet,
    which is after we've already muxed a few audio packets flagged as
    key units, which trips up the unit test.
    
    Fixes pipelines/oggmux unit test.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=679958