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 711710 - Sticky events tags are frequently missing data (compared to input-selector pad "tags" property)
Sticky events tags are frequently missing data (compared to input-selector pa...
Status: RESOLVED DUPLICATE of bug 679768
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-08 21:01 UTC by Brendan Long
Modified: 2013-11-09 18:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Program which listens for x-tags-changed events on playbin, then compares sticky tag events and "tag" property (2.23 KB, text/x-python)
2013-11-08 21:01 UTC, Brendan Long
Details

Description Brendan Long 2013-11-08 21:01:33 UTC
Created attachment 259301 [details]
Program which listens for x-tags-changed events on playbin, then compares sticky tag events and "tag" property

I'm attaching a program for testing this.

Here's some example output:

$ gst-git ./flakey-tags.py https://trac.webkit.org/export/158942/trunk/LayoutTests/media/content/counting-subtitled-srt.mkv
text pad 0 got tags:
input-selector pad tags: taglist, language-code=(string)fr;
sticky event tags: taglist;

text pad 1 got tags:
input-selector pad tags: taglist, language-code=(string)fr, container-format=(string)Matroska;
sticky event tags: taglist, language-code=(string)fr;

text pad 0 got tags:
input-selector pad tags: taglist, language-code=(string)en;
sticky event tags: taglist;

text pad 1 got tags:
input-selector pad tags: taglist, language-code=(string)en, container-format=(string)Matroska;
sticky event tags: taglist, language-code=(string)en;

EOS

Notice how pad 0's input-selector pad "tag" property shows the language correctly, but the sticky events never show anything.

With pad 0 there's still a problem, since the container-format isn't showing up in the sticky events.

I'm guessing what's happening is that the tag sticky events are getting cleared or replaced, which doesn't matter to the input-selector pad since it just merges tags as it sees them and never clears it.

This causes problems because there's basically no reliable way to intercept tags with a pad probe, which I'd like to do here: https://bugs.webkit.org/show_bug.cgi?id=124020

Some interesting files to run this program on:

Text and video: https://trac.webkit.org/export/158942/trunk/LayoutTests/media/content/counting-subtitled-srt.mkv
Audio and video: https://trac.webkit.org/export/158943/trunk/LayoutTests/media/content/two-audio-and-video-tracks.mkv
Comment 1 Brendan Long 2013-11-09 00:04:09 UTC
I'm working around this by making my own pad class with a "tags" property, with the same logic as input-selector's pads, but I think it should be possible to use sticky events for this.
Comment 2 Tim-Philipp Müller 2013-11-09 10:59:31 UTC
I think this might be a duplicate of bug #679768
Comment 3 Brendan Long 2013-11-09 18:03:54 UTC
Yeah looks like the same thing to me. Thanks.

*** This bug has been marked as a duplicate of bug 679768 ***