From: Jeongmo Yang Date: Mon, 14 Oct 2019 01:19:12 +0000 (+0900) Subject: Update header description X-Git-Tag: submit/tizen/20191014.085658^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_5.5_tv;p=platform%2Fcore%2Fapi%2Fmediatool.git Update header description - Add unit for pts, dts and duration - Correct "brief" for media_packet_set_duration() [Version] 0.0.14 [Profile] Common [Issue Type] Update Change-Id: I98e2293285f651b97ce3b442de47d1592f6c2bd8 Signed-off-by: Jeongmo Yang --- diff --git a/include/media_packet.h b/include/media_packet.h index 4f41b9a..209af2c 100755 --- a/include/media_packet.h +++ b/include/media_packet.h @@ -446,11 +446,11 @@ int media_packet_get_format(media_packet_h packet, media_format_h * fmt); int media_packet_set_format(media_packet_h packet, media_format_h fmt); /** - * @brief Sets PTS of media packet. + * @brief Sets presentation timestamp(pts) of media packet. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * * @param[in] packet The media packet handle - * @param[in] pts The PTS value to set + * @param[in] pts The pts in nanoseconds to set * * @return @c 0 on success, * otherwise a negative error value @@ -461,11 +461,11 @@ int media_packet_set_format(media_packet_h packet, media_format_h fmt); int media_packet_set_pts(media_packet_h packet, uint64_t pts); /** - * @brief Sets DTS of media packet handle. + * @brief Sets decoding timestamp(dts) of media packet handle. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * * @param[in] packet The media packet handle - * @param[in] dts The DTS value to set + * @param[in] dts The dts in nanoseconds to set * * @return @c 0 on success, * otherwise a negative error value @@ -476,11 +476,11 @@ int media_packet_set_pts(media_packet_h packet, uint64_t pts); int media_packet_set_dts(media_packet_h packet, uint64_t dts); /** - * @brief Sets PTS of media packet. + * @brief Sets duration of media packet. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * * @param[in] packet The media packet handle - * @param[in] duration The duration value to set + * @param[in] duration The duration in nanoseconds to set * * @return @c 0 on success, * otherwise a negative error value @@ -506,11 +506,11 @@ int media_packet_set_duration(media_packet_h packet, uint64_t duration); int media_packet_set_buffer_size(media_packet_h packet, uint64_t size); /** - * @brief Gets PTS of media packet. + * @brief Gets presentation timestamp(pts) of media packet. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * * @param[in] packet The media packet handle - * @param[out] pts The PTS value to get + * @param[out] pts The pts in nanoseconds to get * * @return @c 0 on success, * otherwise a negative error value @@ -521,11 +521,11 @@ int media_packet_set_buffer_size(media_packet_h packet, uint64_t size); int media_packet_get_pts(media_packet_h packet, uint64_t * pts); /** - * @brief Gets DTS of media packet. + * @brief Gets decoding timestamp(dts) of media packet. * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * * @param[in] packet The media packet handle - * @param[out] dts The DTS value to get + * @param[out] dts The dts in nanoseconds to get * * @return @c 0 on success, * otherwise a negative error value @@ -540,7 +540,7 @@ int media_packet_get_dts(media_packet_h packet, uint64_t * dts); * @since_tizen @if MOBILE 2.3 @elseif WEARABLE 2.3.1 @endif * * @param[in] packet The media packet handle - * @param[out] duration The duration value to get + * @param[out] duration The duration in nanoseconds to get * * @return @c 0 on success, * otherwise a negative error value diff --git a/packaging/capi-media-tool.spec b/packaging/capi-media-tool.spec index ffdc4ca..f19fa69 100755 --- a/packaging/capi-media-tool.spec +++ b/packaging/capi-media-tool.spec @@ -1,6 +1,6 @@ Name: capi-media-tool Summary: A Core API media tool library in Tizen Native API -Version: 0.1.13 +Version: 0.1.14 Release: 0 Group: Multimedia/API License: Apache-2.0