/* length */
GST_WRITE_UINT32_BE (h + 6, pl_length);
/* timestamp */
- GST_WRITE_UINT64_BE (h + 10, GST_EVENT_TIMESTAMP (event));
+ /* NOTE: timestamp field will be removed from GstEvent in 2.0 API */
+ GST_WRITE_UINT64_BE (h + 10, GST_CLOCK_TIME_NONE);
GST_DP_SET_CRC (h, flags, string, pl_length);
case GST_EVENT_FLUSH_STOP:
case GST_EVENT_SEGMENT:
event = gst_event_new_custom (type, NULL);
- GST_EVENT_TIMESTAMP (event) = GST_DP_HEADER_TIMESTAMP (header);
break;
case GST_EVENT_SEEK:
{
if (!outbuffer)
goto no_outbuffer;
- GST_BUFFER_TIMESTAMP (outbuffer) = GST_EVENT_TIMESTAMP (event);
+ GST_BUFFER_TIMESTAMP (outbuffer) = GST_CLOCK_TIME_NONE;
GST_BUFFER_DURATION (outbuffer) = 0;
/* if we got a new segment or tag event, we should put it on our streamheader,