tests: Hold ref while creating second media
authorOlivier Crête <olivier.crete@collabora.com>
Wed, 13 Mar 2013 21:46:58 +0000 (17:46 -0400)
committerOlivier Crête <olivier.crete@collabora.com>
Wed, 13 Mar 2013 21:47:44 +0000 (17:47 -0400)
commit4a99e1cf56e5fe65ca269f39bcb3b533fcf8eb7d
tree7bd24578476aeb9ef41f4e1a7806fae4ea99d531
parent025ac3458015a1dcc4cb20feece5ba7fa38e3c61
tests: Hold ref while creating second media

To test if the media aren't shared, make sure we keep the first one while creating a second
otherwise the same memory address may be reused.
tests/check/gst/mediafactory.c