[Bug 679768] mpegaudioparse, baseparse: fix tag handling

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Aug 15 10:46:51 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=679768

--- Comment #34 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Created attachment 309332
  --> https://bugzilla.gnome.org/attachment.cgi?id=309332&action=edit
WIP: baseparse: fix tag handling, step 1

    In 0.10 there were no sticky events, and all tag events
    sent would just be merged with the previously-received
    tags. In 1.x we have sticky events, and the tags in the
    tag event(s) should at all times carry the complete tags,
    so we can't just push some tags and then just push tags
    with just bitrates to update the bitrates, etc.

    Instead we need to keep track of the upstream stream tags
    received, of the tags set by the video decoder subclass,
    and send an updated tag event with the combined tags
    including our own bitrate tags (if applicable) whenever
    the upstream tags, the subclass tags or any of our bitrates
    change.

    MISSING:

    1) API for the subclass to set tags
    2) we now send updated tags way too often (~every frame)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the gstreamer-bugs mailing list