Since GStreamer 1.0, GST_BUFFER_DTS is used with GST_BUFFER_PTS(GST_BUFFER_TIMESTAMP),
but, GST_BUFFER_DTS is not updated in encodebin.
It causes the failure on muxer when resume recording.
[Version] 1.0.0-29
[Profile] Common
[Issue Type] Bug fix
[Dependency module] N/A
[Test] [M(T) - Boot=(OK), sdb=(OK), Home=(OK), Touch=(OK), Version=tizen-3.0-mobile_20161114.3]
Change-Id: Ia58f53a7215162d739845d5368275c77595a67c4
Signed-off-by: Jeongmo Yang <jm80.yang@samsung.com>
}
//Adjusting timestamp of video source
- GST_BUFFER_TIMESTAMP(gst_pad_probe_info_get_buffer(info)) -= encodebin->total_offset_time;
+ GST_BUFFER_PTS(gst_pad_probe_info_get_buffer(info)) -= encodebin->total_offset_time;
+ GST_BUFFER_DTS(gst_pad_probe_info_get_buffer(info)) = GST_BUFFER_PTS(gst_pad_probe_info_get_buffer(info));
return GST_PAD_PROBE_OK;
}
return GST_PAD_PROBE_OK;
}
- GST_BUFFER_TIMESTAMP(gst_pad_probe_info_get_buffer(info)) *= encodebin->multiple;
+ GST_BUFFER_PTS(gst_pad_probe_info_get_buffer(info)) *= encodebin->multiple;
+ GST_BUFFER_DTS(gst_pad_probe_info_get_buffer(info)) = GST_BUFFER_PTS(gst_pad_probe_info_get_buffer(info));
+
return GST_PAD_PROBE_OK;
}
}
//Adjusting timestamp of video source
- GST_BUFFER_TIMESTAMP(gst_pad_probe_info_get_buffer(info)) -= encodebin->total_offset_time;
+ GST_BUFFER_PTS(gst_pad_probe_info_get_buffer(info)) -= encodebin->total_offset_time;
+ GST_BUFFER_DTS(gst_pad_probe_info_get_buffer(info)) = GST_BUFFER_PTS(gst_pad_probe_info_get_buffer(info));
return GST_PAD_PROBE_OK;
}
Name: gst-plugins-tizen
Version: 1.0.0
Summary: GStreamer tizen plugins (common)
-Release: 28
+Release: 29
Group: Multimedia/Framework
Url: http://gstreamer.freedesktop.org/
License: LGPL-2.1+