media source: add missing refcount increment
commitca07827cbf4065d8f34b86f4a9f82e4b4cdc48f6
authorRomain Vimont <rom1v@videolabs.io>
Sun, 27 Jan 2019 10:02:25 +0000 (27 11:02 +0100)
committerThomas Guillem <thomas@gllm.fr>
Mon, 28 Jan 2019 10:50:30 +0000 (28 11:50 +0100)
tree9f4226bad3b722ba4766353b7bb4e805287a7ac6
parentd5ccdffa6594397c2320f55783b865e8af775902
media source: add missing refcount increment

If a media source was already created in _GetMediaSource(), its refcount
was not incremented.

Reported-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
src/media_source/media_source.c