fix svace issue 48/60948/1 accepted/tizen/common/20160310.080948 accepted/tizen/ivi/20160310.054538 accepted/tizen/mobile/20160310.054437 accepted/tizen/tv/20160310.054455 accepted/tizen/wearable/20160310.054513 submit/tizen/20160309.062521
authorNAMJEONGYOON <just.nam@samsung.com>
Thu, 3 Mar 2016 05:57:33 +0000 (14:57 +0900)
committerNAMJEONGYOON <just.nam@samsung.com>
Thu, 3 Mar 2016 05:57:33 +0000 (14:57 +0900)
Change-Id: I5991e332ee7c345237c008c203fd57cc94542117

src/player_evas.c

index 37e803c..db9c652 100644 (file)
@@ -177,7 +177,7 @@ evas_pipe_cb (void *data, void *buffer, update_info info)
        LOGD ("[ENTER]");
 
        if (!evas_info || !evas_info->eo) {
-               LOGW ("evas_info %p or eo %p is NULL", evas_info, evas_info->eo);
+               LOGW ("evas_info %p or eo is NULL", evas_info);
                goto ERROR;
        }
 
@@ -396,11 +396,12 @@ void decoded_callback_for_evas (media_packet_h packet, void *data)
                goto ERROR;
        }
        /* FIXME: when setCaps occurs, _get_video_size should be called */
+       /* currently we are always checking it */
        if(has && _get_video_size(packet, handle)) {
                /* Attention! if this error occurs, we need to consider managing buffer */
                if(handle->sent_buffer_cnt>4) {
                        LOGE("too many buffers are not released %d", handle->sent_buffer_cnt);
-                       /* FIXME: fix this logic*/
+                       /* FIXME: fix this logic */
                        /* destroy all media packets and reset pipe at present */
                        g_mutex_lock (&handle->free_lock);
                        _reset_pipe(handle);