summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHyunil <hyunil46.park@samsung.com>2019-08-23 15:47:59 +0900
committerHyunil <hyunil46.park@samsung.com>2019-08-26 09:07:57 +0900
commit0afddcb6edd60d14245f713c193f721d6a0a4a71 (patch)
tree4f4181be3238e9b5126a59dedece6cd19968106d
parent08c02c115031e737bb09c70eb4355905650e119a (diff)
downloadlibmm-player-0afddcb6edd60d14245f713c193f721d6a0a4a71.tar.gz
libmm-player-0afddcb6edd60d14245f713c193f721d6a0a4a71.tar.bz2
libmm-player-0afddcb6edd60d14245f713c193f721d6a0a4a71.zip
use-tbm is set to true when the condition is truesubmit/tizen/20190826.051840accepted/tizen/unified/20190827.043439
Change-Id: I0275dcbdba343eddef6710a484216b0b29a0af3f Signed-off-by: Hyunil <hyunil46.park@samsung.com>
-rw-r--r--src/mm_player_priv.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/mm_player_priv.c b/src/mm_player_priv.c
index 74bf567..80da1be 100644
--- a/src/mm_player_priv.c
+++ b/src/mm_player_priv.c
@@ -3452,19 +3452,18 @@ __mmplayer_gst_set_videosink_property(mmplayer_t *player, MMDisplaySurfaceType s
return MM_ERROR_PLAYER_INTERNAL;
}
- LOGD("surface type %d, videosink factory name is %s", surface_type, factory_name);
if (surface_type == MM_DISPLAY_SURFACE_OVERLAY) {
bool use_tbm = (player->set_mode.video_zc || (player->is_360_feature_enabled && player->is_content_spherical));
- if (!use_tbm) {
- /* support shard memory with S/W codec on HawkP */
- if (strncmp(factory_name, "tizenwlsink", strlen(factory_name)) == 0) {
- g_object_set(player->pipeline->videobin[MMPLAYER_V_SINK].gst,
- "use-tbm", use_tbm, NULL);
- }
+ if (strncmp(factory_name, "tizenwlsink", strlen(factory_name)) == 0) {
+ g_object_set(player->pipeline->videobin[MMPLAYER_V_SINK].gst,
+ "use-tbm", use_tbm, NULL);
}
if (_mmplayer_update_video_overlay_param(player, "update_all_param") != MM_ERROR_NONE)
return MM_ERROR_PLAYER_INTERNAL;
+
+ LOGI("videosink factory name is %s use-tbm : %d", factory_name, use_tbm);
+
} else {
g_object_set(G_OBJECT(player->pipeline->videobin[MMPLAYER_V_SINK].gst),
"sync", TRUE, "max-lateness", FAKE_SINK_MAX_LATENESS, NULL);