mpegts: Don't confuse slice allocator with regular one
authorSebastian Rasmussen <sebras@hotmail.com>
Sat, 5 Jul 2014 23:55:16 +0000 (01:55 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 9 Jul 2014 10:04:17 +0000 (12:04 +0200)
commit66c38b50f3ddd911eb5abd05e8095e438cadec78
treec219392d2f73ff5549d17209f9038c9d370ee799
parent7626b494cbd6a4a1d3583a9660247ca2b0790b84
mpegts: Don't confuse slice allocator with regular one

Previously selector_bytes and private_data_bytes were sometimes allocated and
free using the normal allocator and sometimes using the slice allocator.
Additionally prefer g_strdup() to g_memdup() for strings.

Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732789
gst-libs/gst/mpegts/gst-dvb-descriptor.c