Fix to print out segment information as time format 75/49375/1
authorYeJin Cho <cho.yejin@samsung.com>
Fri, 21 Aug 2015 07:15:55 +0000 (16:15 +0900)
committerSangkyu Park <sk1122.park@samsung.com>
Mon, 12 Oct 2015 07:16:00 +0000 (16:16 +0900)
Change-Id: I4c7e0d55c13a6133bf1de4e08223477868a87ea7

packaging/libmm-wfd.spec
sink/mm_wfd_sink_util.c

index 6981ae0..d342f4e 100755 (executable)
@@ -1,6 +1,6 @@
 Name:       libmm-wfd
 Summary:    Multimedia Framework Wifi-Display Library
-Version:    0.2.183
+Version:    0.2.184
 Release:    0
 Group:      System/Libraries
 License:    Apache-2.0
index c6c9c83..230f515 100755 (executable)
@@ -100,9 +100,10 @@ _mm_wfd_sink_util_pad_probe_cb(GstPad *pad, GstPadProbeInfo *info, gpointer u_da
                        const GstSegment *segment = NULL;
                        gst_event_parse_segment(event, &segment);
                        if (segment)
-                               wfd_sink_debug("NEWSEGMENT : %" G_GINT64_FORMAT
-                                              " -- %"  G_GINT64_FORMAT ", time %" G_GINT64_FORMAT " \n",
-                                              segment->start, segment->stop, segment->time);
+                               wfd_sink_debug("NEWSEGMENT : %" GST_TIME_FORMAT
+                                              " -- %"  GST_TIME_FORMAT ", time %" GST_TIME_FORMAT " \n",
+                                              GST_TIME_ARGS(segment->start), GST_TIME_ARGS(segment->stop),
+                                              GST_TIME_ARGS(segment->time));
                }
        }