From: younghwan Date: Wed, 23 Sep 2015 09:13:24 +0000 (+0900) Subject: [Player] remove deprecated API X-Git-Tag: tizen_3.0/TD_SYNC/20161201~451 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0c11716edda426d30c267250e38b696d0b0eeb4;p=sdk%2Fonline-doc.git [Player] remove deprecated API - remove player_is_display_mode_changeable() Change-Id: I77eaf6639292b06a0c0ddcef21f618535f77eb32 Signed-off-by: younghwan --- diff --git a/org.tizen.tutorials/html/native/multimedia/player_tutorial_n.htm b/org.tizen.tutorials/html/native/multimedia/player_tutorial_n.htm index d8e4ed4..32f2367 100644 --- a/org.tizen.tutorials/html/native/multimedia/player_tutorial_n.htm +++ b/org.tizen.tutorials/html/native/multimedia/player_tutorial_n.htm @@ -643,7 +643,7 @@ dlog_print(DLOG_ERROR, LOG_TAG, "player_start = %d", error_code);After a successful call of this function, the player state is set to PLAYER_STATE_PLAYING. The playback of the media contents stored in the previously specified file starts. The video file plays until the player_stop() or player_pause() function is called.

  • Set the display visibility. -
    1. Before setting the visibility of the x surface video display, check that it has not already been done by using the player_is_display_visible() function:

      +
      1. Before setting the visibility of the video display, check that it has not already been done by using the player_is_display_visible() function:

        bool is_visible;
         
         error_code = player_is_display_visible(player, &is_visible);
        @@ -660,19 +660,12 @@ dlog_print(DLOG_ERROR, LOG_TAG, "player_is_display_visible = %d", erro
         
    2. Set the display mode. -
      1. Check the possibility of using the video display mode using the player_is_display_mode_changeable() function:

        - -
        bool is_changeable;
        -
        -error_code = player_is_display_mode_changeable(player, &is_changeable);
        -dlog_print(DLOG_ERROR, LOG_TAG, "player_is_display_mode_changeable = %d", error_code);
        -
      2. +
        1. If the is_changeable variable is set to true, set the display mode using the player_set_display_mode() function. The player_display_mode_e enumerator (in mobile and wearable applications) defines the available display modes.

          -
          if (is_changeable)
          -{
          +
              error_code = player_set_display_mode(player, PLAYER_DISPLAY_MODE_FULL_SCREEN);
              dlog_print(DLOG_ERROR, LOG_TAG, "player_set_display_mode = %d", error_code);
          -}
        +
    3. Set the display rotation.

      Set the display rotation using the player_set_display_rotation() function. The player_display_rotation_e enumerator (in mobile and wearable applications) defines the available display rotations.