DataRepo/Src: Get the framerate only if the data have it
authorWook Song <wook16.song@samsung.com>
Mon, 25 Sep 2023 07:27:17 +0000 (16:27 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Wed, 27 Sep 2023 04:27:28 +0000 (13:27 +0900)
commit8040778a3535672ee1abf24b79c92123f3934633
tree534decc7a1442fe7c2c6c25a0a9a70b82c08f09c
parent200d670bb6d28c76e94dc29f2151b23e5ef1b647
DataRepo/Src: Get the framerate only if the data have it

This patch fixes the bug that tries to get the 'framerate' value from
the caps of any data source. Note that there is no 'framerate' field in
GstAudioInfo.

Signed-off-by: Wook Song <wook16.song@samsung.com>
gst/datarepo/gstdatareposrc.c