buffer: Don't copy "memory" metas unconditionally
authorSebastian Dröge <sebastian@centricular.com>
Wed, 1 Jul 2015 08:36:36 +0000 (10:36 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 1 Jul 2015 08:37:37 +0000 (10:37 +0200)
commit0aae36567d2e2c9109823c783d7e920cebef6a3f
treeaa8229c688017ef51a42f22fa618bd07b4799aae
parentd43f256a9e1acc69c85bf3898e142cdf8bce7def
buffer: Don't copy "memory" metas unconditionally

Don't copy memory metas if we only copied part of the buffer, didn't
copy memories or merged memories. In all these cases the memory
structure has changed and the memory meta becomes meaningless.

https://bugzilla.gnome.org/show_bug.cgi?id=751712
gst/gstbuffer.c