Update video_renderer_gstreamer.c

This commit is contained in:
antimof
2020-05-02 20:00:47 +03:00
committed by GitHub
parent 3268b26a20
commit 1a7f15b79a

View File

@@ -66,7 +66,7 @@ void video_renderer_render_buffer(video_renderer_t *renderer, raop_ntp_t *ntp, u
buffer = gst_buffer_new_and_alloc(data_len);
assert(buffer != NULL);
GST_BUFFER_PTS(buffer) = (GstClockTime)pts;
GST_BUFFER_DTS(buffer) = (GstClockTime)pts;
gst_buffer_fill(buffer, 0, data, data_len);
gst_app_src_push_buffer (GST_APP_SRC(renderer->appsrc), buffer);
}