[v0.6.23] Add/link video filters only when using OVERAY surface 42/110242/2 accepted/tizen/common/20170113.184519 accepted/tizen/ivi/20170113.225544 accepted/tizen/mobile/20170113.225450 accepted/tizen/tv/20170113.225509 accepted/tizen/wearable/20170113.225520 submit/tizen/20170113.114553
authorGilbok Lee <gilbok.lee@samsung.com>
Fri, 13 Jan 2017 10:17:14 +0000 (19:17 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Fri, 13 Jan 2017 10:34:12 +0000 (19:34 +0900)
Change-Id: Idcd8c6d951fa91276cf4365633c7c891c283fe55

packaging/libmm-player.spec
src/mm_player_priv.c

index 3cd343f..5e73f39 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-player
 Summary:    Multimedia Framework Player Library
-Version:    0.6.22
+Version:    0.6.23
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0
index e15bc45..bec94d9 100644 (file)
@@ -5306,14 +5306,11 @@ __mmplayer_gst_create_video_pipeline(mm_player_t* player, GstCaps* caps, MMDispl
        int enable_video_decoded_cb = 0;
        mm_attrs_get_int_by_name(player->attrs, "enable_video_decoded_cb", &enable_video_decoded_cb);
 
-       if (enable_video_decoded_cb || !player->set_mode.media_packet_video_stream) {
-               if (__mmplayer_gst_create_video_filters(player, &element_bucket) != MM_ERROR_NONE)
-                       goto ERROR;
-       }
-
        /* set video sink */
        switch (surface_type) {
        case MM_DISPLAY_SURFACE_OVERLAY:
+               if (__mmplayer_gst_create_video_filters(player, &element_bucket) != MM_ERROR_NONE)
+                       goto ERROR;
                if (strlen(player->ini.videosink_element_overlay) > 0)
                        videosink_element = player->ini.videosink_element_overlay;
                else