01org/dleyna-renderer — pull request #130 by cguiraud (2013-09-16 08:27:10+00:00)
Title: Dev 115 v2

changes based on review comments:

in [Device] Fix DLR_INTERFACE_PROP_BYTE_POSITION retrieval:

- splitted prv_get_all_position_info_cb() in two

prv_get_all_position_info_cb()
prv_get_all_byte_position_info_cb()

- in dlr_device_get_prop(); assign cb_data->cb which was not assigned and might cause memory corruption.
since, can't reproduce the memory corruption on renderer's exit.

in [Device] Fix dlr_device_seek implementation:

- in function dlr_device_seek:
replace if/else by below statement for device_cb_data->ut.get_position.as_byte assignation:

device_cb_data->ut.get_position.as_byte = (task->type == DLR_TASK_BYTE_SEEK);