Fix typo and change the permission of files 14/287114/1
authorJeongyoon Nam <just.nam@samsung.com>
Thu, 8 Dec 2022 01:19:12 +0000 (10:19 +0900)
committerJeongyoon Nam <just.nam@samsung.com>
Fri, 20 Jan 2023 01:46:47 +0000 (10:46 +0900)
Change-Id: Ia61e84ed8ad76419056705fa544c4238b3407004

33 files changed:
include/esplusplayer_capi/drm.h [changed mode: 0755->0644]
include/esplusplayer_capi/error.h [changed mode: 0755->0644]
include/esplusplayer_capi/espacket.h [changed mode: 0755->0644]
include/esplusplayer_capi/esplusplayer_capi.h
include/esplusplayer_capi/event.h [changed mode: 0755->0644]
include/esplusplayer_capi/matroska_color.h [changed mode: 0755->0644]
include/esplusplayer_capi/state.h [changed mode: 0755->0644]
include/esplusplayer_capi/submitdatatype.h [changed mode: 0755->0644]
include/esplusplayer_capi/submitstatus.h [changed mode: 0755->0644]
include/plusplayer/elementary_stream.h [changed mode: 0755->0644]
include/plusplayer/espacket.h [changed mode: 0755->0644]
include/plusplayer/external_drm.h [changed mode: 0755->0644]
src/esplusplayer/include_internal/esplayer/espacket_logger.h [changed mode: 0755->0644]
src/esplusplayer/include_internal/esplayer/esplayer.h
src/esplusplayer/include_internal/esplayer/esplayer_drm.h [changed mode: 0755->0644]
src/esplusplayer/include_internal/esplayer/state_manager.hpp [changed mode: 0755->0644]
src/esplusplayer/src/elementary_stream.cpp [changed mode: 0755->0644]
src/esplusplayer/src/espacket.cpp [changed mode: 0755->0644]
src/esplusplayer/src/esplayer.cpp
src/esplusplayer/src/esplayer_drm.cpp [changed mode: 0755->0644]
src/esplusplayer/src/esplusplayer.cpp [changed mode: 0755->0644]
src/plusplayer-core/include_internal/core/decoderinputbuffer_listener.h [changed mode: 0755->0644]
src/plusplayer-core/include_internal/core/error.h [changed mode: 0755->0644]
src/plusplayer-core/include_internal/core/gstobject_guard.h [changed mode: 0755->0644]
src/plusplayer-core/include_internal/core/gstsignal_holder.h [changed mode: 0755->0644]
src/plusplayer-core/include_internal/core/serializer.h [changed mode: 0755->0644]
src/plusplayer-core/include_internal/core/subtitle_attr_parser.h [changed mode: 0755->0644]
src/plusplayer-core/include_internal/core/track_util.h [changed mode: 0755->0644]
src/plusplayer-core/src/decoderinputbuffer.cpp [changed mode: 0755->0644]
src/plusplayer-core/src/error.cpp [changed mode: 0755->0644]
src/plusplayer-core/src/gstobject_guard.cpp [changed mode: 0755->0644]
src/plusplayer-core/src/serializer.cpp [changed mode: 0755->0644]
src/plusplayer-core/src/subtitle_attr_parser.cpp [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index d30323c..428d9c2 100644 (file)
@@ -94,7 +94,7 @@ typedef enum {
    *                For applications using the UDP protocol, packet loss can
    *                occur. when video distortion by video packet loss is
    *                detected, it is a function to conceal distortion by showing
-   *                previous vido frame. It is supported only in h.264 codec &
+   *                previous video frame. It is supported only in h.264 codec &
    *                FHD or lower resolution.
    */
   ESPLUSPLAYER_LOW_LATENCY_MODE_VIDEO_DISTORTION_CONCEALMENT =
@@ -115,7 +115,7 @@ typedef enum {
    *                #ESPLUSPLAYER_STATE_READY from #ESPLUSPLAYER_STATE_IDLE.
    *                It changes the state immediately.
    *                It's usually used for sparse stream. (e.g. video packet
-   *                arrives but audio packet does't yet.)
+   *                arrives but audio packet doesn't yet.)
    */
   ESPLUSPLAYER_LOW_LATENCY_MODE_DISABLE_PREROLL = 0x0200,
   /**
@@ -141,7 +141,7 @@ typedef enum {
    */
   ESPLUSPLAYER_AUDIO_CODEC_TYPE_HW,
   /**
-   * @description   sorfware codec can only be selected
+   * @description   software codec can only be selected
    */
   ESPLUSPLAYER_AUDIO_CODEC_TYPE_SW,
   ESPLUSPLAYER_AUDIO_CODEC_TYPE_MAX
@@ -401,7 +401,7 @@ int esplusplayer_activate(esplusplayer_handle handle,
  * @code
  *            static void OnPrepareDone(bool ret, void* userdata) {
  *                //Something you want to do when prepare done, but, we strongly
- *                //recommend DO NOT CALL PLAYER APIs in this callbck
+ *                //recommend DO NOT CALL PLAYER APIs in this callback
  *                printf("OnPrepareDone\n");
  *            }
  *            esplusplayer_handle esplayer = esplusplayer_create();
@@ -589,7 +589,7 @@ int esplusplayer_set_playback_rate(esplusplayer_handle handle,
  *            #ESPLUSPLAYER_STATE_PAUSED or #ESPLUSPLAYER_STATE_PLAYING.
  *            In ESPLUSPLAYER_STATE_IDLE, this api can be called exceptionally
  *            between esplusplayer_open() and esplusplayer_prepare_async().
- *            the start time of plyabak can be set explicitly when starting
+ *            the start time of playback can be set explicitly when starting
  *            first playback. In this case, esplusplayer_set_seek_done_cb is not
  *            called.
  * @post      None
@@ -747,7 +747,7 @@ int esplusplayer_set_display_roi(esplusplayer_handle handle, int x, int y,
  *            #ESPLUSPLAYER_STATE_NONE. \n
  * @post      None
  * @exception None
- * @remark    The minimum value of input are 0,maximun value is 1.
+ * @remark    The minimum value of input are 0,maximum value is 1.
  * @see       esplusplayer_open() \n
  *            esplusplayer_set_display() \n
  *            esplusplayer_set_display_visible()
@@ -1492,7 +1492,7 @@ int esplusplayer_set_ready_to_prepare_cb(
  * @brief     Set a callback function to be invoked when player is prepared to
  *            be started.
  * @param     [in] handle : esplusplayer handle.
- * @param     [in] prepare_async_done_cb : the repare async done callback
+ * @param     [in] prepare_async_done_cb : the prepare async done callback
  * function to register.
  * @param     [in] userdata : userdata of prepare_async_done_cb()
  * @return    @c ESPLUSPLAYER_ERROR_TYPE_NONE on success,otherwise @c one of esplusplayer_error_type
@@ -1625,7 +1625,7 @@ int esplusplayer_set_media_packet_video_decoded_cb(
  * @pre       The player state must be set to #ESPLUSPLAYER_STATE_NONE
  *            or #ESPLUSPLAYER_STATE_IDLE.
  * @post      When there is closed caption data, call
- *            esplusplayer_closed_caption_cb to nofity that there is closed
+ *            esplusplayer_closed_caption_cb to notify that there is closed
  *            caption needed to be displayed.
  * @exception None
  * @remark    esplusplayer_closed_caption_cb \n
@@ -1641,8 +1641,8 @@ int esplusplayer_set_closed_caption_cb(
     esplusplayer_closed_caption_cb closed_caption_cb, void* userdata);
 
 /**
- * @brief     Set a callback function to be invoked when player is flush
- *            successed.
+ * @brief     Set a callback function to be invoked when the flush operation is
+ *            done.
  * @param     [in] handle : esplusplayer handle.
  * @param     [in] flush_done_cb : the flush done callback function to register.
  * @param     [in] userdata : userdata of esplusplayer_flush_done_cb()
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 74b4b6f..737ee50 100644 (file)
@@ -206,7 +206,7 @@ class EsPlayer : public EsPlusPlayer {
   PlayerVideoCodecType video_codec_type_ = kPlayerVideoCodecTypeHW;
   bool force_audio_swdecoder_use_ = false;
   std::uint32_t video_decoding_mode_ = 0x02;  // seamless mode
-  std::uint32_t alternaltive_video_resource_ = 0;
+  std::uint32_t alternative_video_resource_ = 0;
   ResumeTime resume_time_;
 
   bool is_msg_task_stop_ = false;
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index dcb3f13..f805b53 100644 (file)
@@ -439,7 +439,7 @@ void EsPlayer::SetTrackRendererAttributes_() {
 #if 0
   trackrenderer_->SetAttribute(
       TrackRendererAdapter::Attribute::kAlternativeVideoResource,
-      alternaltive_video_resource_);
+      alternative_video_resource_);
   trackrenderer_->SetAttribute(
       TrackRendererAdapter::Attribute::kVideoDecodingMode,
       video_decoding_mode_);
@@ -564,7 +564,7 @@ bool EsPlayer::Resume() {
     return false;
   }
   if (is_resource_conflicted_) {
-    LOG_ERROR_P(this, "Resuem fail resource conflicted");
+    LOG_ERROR_P(this, "Resume fail resource conflicted");
     return false;
   }
   auto op = [this]() noexcept -> bool {
@@ -953,7 +953,7 @@ GstBuffer* EsPlayer::GetGstBuffer_(const EsPacketPtr& packet,
         g_quark_from_static_string("matroska_blockadditional_size"),
         blockadditional_size, g_free);
 
-    /* blockadditiona_data : the data sent to omx, size (4 bytes) + metadata */
+    /* blockadditional_data : the data sent to omx, size (4 bytes) + metadata */
     guint8* blockadditional_data =
         (guint8*)g_malloc(((*blockadditional_size) + 4) * sizeof(guint8));
     memcpy(blockadditional_data, blockadditional_size, sizeof(uint32_t));
@@ -1351,7 +1351,7 @@ bool EsPlayer::SetVideoCodecType(const PlayerVideoCodecType& type) {
   if (type == kPlayerVideoCodecTypeSW &&
       vidoe_frame_buffer_type_ == DecodedVideoFrameBufferType::kScale) {
     LOG_ERROR_P(this,
-                "sw video decoder is not supportted when video frame buffer "
+                "sw video decoder is not supported when video frame buffer "
                 "type is scale");
     return false;
   }
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)