audio/video-info: Properly initialize the info structures in set_format()
authorSebastian Dröge <sebastian@centricular.com>
Mon, 30 Dec 2013 09:53:24 +0000 (10:53 +0100)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 30 Dec 2013 09:53:24 +0000 (10:53 +0100)
commit58592a2af37bf146d54c1565e22207a0a3395574
treee0a13526c45b615b4437863cca14760475285637
parent65732d9c97dd2091994c88167501e85de5e5755d
audio/video-info: Properly initialize the info structures in set_format()

And don't assume in other code that set_format() preserves any fields at
all. These assumptions were already made here for fields that were changed
by set_format().
gst-libs/gst/audio/audio-info.c
gst-libs/gst/video/video-info.c