Update header description 36/215636/2 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.030418 accepted/tizen/5.5/unified/mobile/hotfix/20201027.065110 accepted/tizen/5.5/unified/wearable/hotfix/20201027.121111 accepted/tizen/unified/20191016.000339 submit/tizen/20191014.085658 submit/tizen_5.5/20191031.000002 submit/tizen_5.5_mobile_hotfix/20201026.185102 submit/tizen_5.5_wearable_hotfix/20201026.184302 tizen_5.5.m2_release
authorJeongmo Yang <jm80.yang@samsung.com>
Mon, 14 Oct 2019 01:19:12 +0000 (10:19 +0900)
committerJeongmo Yang <jm80.yang@samsung.com>
Mon, 14 Oct 2019 05:43:43 +0000 (14:43 +0900)
- 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 <jm80.yang@samsung.com>
include/media_packet.h
packaging/capi-media-tool.spec

index 4f41b9af3c2e4d3fcb1c1e4f173756e2dd2e8c01..209af2c5c972f78f26ba7e428812bb094260a5f3 100755 (executable)
@@ -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
index ffdc4ca78fb484997fb111d5016f8f1fe882ec12..f19fa69b022f5173f3e90520f753ce08c4a9fd2f 100755 (executable)
@@ -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