Change time scale ms to ns using push media stream 03/56103/1 accepted/tizen/mobile/20160105.044931 accepted/tizen/tv/20160105.044953 accepted/tizen/wearable/20160105.045010 submit/tizen/20160105.015710
authorGilbok Lee <gilbok.lee@samsung.com>
Mon, 4 Jan 2016 10:01:56 +0000 (19:01 +0900)
committerGilbok Lee <gilbok.lee@samsung.com>
Mon, 4 Jan 2016 10:01:56 +0000 (19:01 +0900)
Change-Id: Id48910f2ce559d5a31c878940d7a4cbfa7004be7
Signed-off-by: Gilbok Lee <gilbok.lee@samsung.com>
src/server/mm_player_es.c

index 6d88a8e..cfb6b49 100644 (file)
@@ -434,7 +434,7 @@ _mmplayer_submit_packet (MMHandleType hplayer, media_packet_h packet)
       ret = MM_ERROR_PLAYER_INTERNAL;
       goto ERROR;
     }
-    GST_BUFFER_PTS (_buffer) = (GstClockTime) (pts * 1000000);
+    GST_BUFFER_PTS (_buffer) = (GstClockTime)pts;
 
     if ((elemId < MMPLAYER_M_NUM) && (player->pipeline->mainbin[elemId].gst)) {
       gst_app_src_push_buffer (GST_APP_SRC (player->pipeline->mainbin[elemId].gst), _buffer);