https://bugzilla.gnome.org/show_bug.cgi?id=699398
/* only do stuff if something new; only compare first 11 bytes, changes in
quantiser matrix doesn't matter here. Also changing the matrices in
codec_data seems to cause problem with decoders */
/* only do stuff if something new; only compare first 11 bytes, changes in
quantiser matrix doesn't matter here. Also changing the matrices in
codec_data seems to cause problem with decoders */
- if (mpvparse->config && size == gst_buffer_get_size (mpvparse->config) &&
+ if (mpvparse->config &&
gst_buffer_memcmp (mpvparse->config, 0, data_with_prefix, MIN (size,
11)) == 0) {
gst_buffer_unmap (buf, &map);
gst_buffer_memcmp (mpvparse->config, 0, data_with_prefix, MIN (size,
11)) == 0) {
gst_buffer_unmap (buf, &map);