GNOME Bugzilla – Bug 711710
Sticky events tags are frequently missing data (compared to input-selector pad "tags" property)
Last modified: 2013-11-09 18:03:54 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
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.
I think this might be a duplicate of bug #679768
Yeah looks like the same thing to me. Thanks. *** This bug has been marked as a duplicate of bug 679768 ***