diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-10-18 17:16:29 +0200 |
---|---|---|
committer | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-11-21 15:36:30 -0800 |
commit | ae266165e81b4de988ca01e440179fd9c2e8674d (patch) | |
tree | 00b1e1a2fc394984b65f3ccebebcf8fd0f5566e6 /binding | |
parent | 9bbec6c629b4067a59241c0c0d3796e024cb26bc (diff) |
binding: mediaplayer: quiet some compile warnings
Change-Id: I48d54c05bfb8f74f280ac914f13aa30ce79fad00
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding')
-rw-r--r-- | binding/afm-mediaplayer-binding.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/binding/afm-mediaplayer-binding.c b/binding/afm-mediaplayer-binding.c index 127d162..e82f7d6 100644 --- a/binding/afm-mediaplayer-binding.c +++ b/binding/afm-mediaplayer-binding.c @@ -564,7 +564,7 @@ static json_object *populate_json_metadata(void) json_object_new_int64(data.position / GST_MSECOND)); json_object_object_add(jresp, "volume", - json_object_new_int(data.volume)); + json_object_new_int64(data.volume)); jresp = populate_json_metadata_image(jresp); @@ -873,6 +873,8 @@ static void onevent(const char *event, struct json_object *object) void *gstreamer_loop_thread(void *ptr) { g_main_loop_run(g_main_loop_new(NULL, FALSE)); + + return NULL; } static int init() |