gstreamer/gst-libs/gst
Tim-Philipp Müller 30b7cc6670 videodecoder: fix tag handling
Before we just merged everything in pretty much random ways
ad-hoc instead of keeping state properly. In 0.10 that was
how it worked, but in 1.x the tag events sent should always
reflect the latest state and replace any previous tags.

So save the upstream (stream) tags, and save the tags set
by the decoder subclass with merge mode, and then update
the merged tags whenever either of those two changes.

This slightly changes the behaviour of gst_video_decoder_merge_tags()
in case it is called multiple times, since now any call replaces
the previously-set tags. However, it leads to much more predictable
outcomes, and also we are not aware of any subclass which sets this
multiple times and expects all the tags set to be merged.

If more complex tag merging scenarios are required, we'll have
to add a new vfunc for that or the subclass has to intercept
the upstream tags itself and send merged tags itself.

https://bugzilla.gnome.org/show_bug.cgi?id=679768
2015-08-16 18:23:07 +01:00
..
allocators docs: add fdmemory to docs 2015-05-18 20:56:28 +02:00
app appsink: unref the preroll buffer and cleanup the segments on stop() 2015-08-14 19:27:07 +02:00
audio audiodecoder: fix tag handling 2015-08-16 16:34:31 +01:00
fft gi: Skip fft constructor for now 2015-06-16 14:36:44 -04:00
pbutils discoverer: Fix a wrong naming in the documentation 2015-06-17 10:16:47 +02:00
riff gi: Use INTROSPECTION_INIT for --add-init-section 2015-06-16 18:04:57 -04:00
rtp rtpbasedepayload: Make stats creation threadsafe, fix a CRITICAL 2015-08-15 23:37:26 +10:00
rtsp rtsp: Include generated enum types in gstrtsptransport.h 2015-07-14 17:18:12 -04:00
sdp sdp: prevent the sdp message parser from reading past the end of the buffer 2015-05-29 15:05:31 +02:00
tag gi: Use INTROSPECTION_INIT for --add-init-section 2015-06-16 18:04:57 -04:00
video videodecoder: fix tag handling 2015-08-16 18:23:07 +01:00
gettext.h Fix FSF address 2012-11-03 23:05:09 +00:00
glib-compat-private.h Fix FSF address 2012-11-03 23:05:09 +00:00
gst-i18n-app.h tools: add simple command-line gst-play utility for testing purposes 2013-08-16 15:45:23 +01:00
gst-i18n-plugin.h Fix FSF address 2012-11-03 23:05:09 +00:00
Makefile.am rtp: Depend on the audio library 2015-08-11 14:10:57 +02:00