OSDN Git Service

radeon/vce: fix vui time_scale zero error
authorLeo Liu <leo.liu@amd.com>
Fri, 18 Sep 2015 19:51:26 +0000 (15:51 -0400)
committerLeo Liu <leo.liu@amd.com>
Fri, 25 Sep 2015 22:47:14 +0000 (18:47 -0400)
commit1e97b41893a4f53a71ee141a5e8a046fed7b49cd
tree143cb6903ec0f5c521800e7f13043a66d5744ddd
parent1dd943d7fb5bd374e871436ccf6546327687c761
radeon/vce: fix vui time_scale zero error

if app pass 0 as frame_rate_num, it should not be encoded to the VUI.

Signed-off-by: Leo Liu <leo.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: "10.6 11.0" <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeon/radeon_vce_40_2_2.c