mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gst/udp/gstudpsrc.c: Make udpsrc timestamp outgoing buffers based on when they were received.
Original commit message from CVS: * gst/udp/gstudpsrc.c: (gst_udpsrc_init), (gst_udpsrc_create): Make udpsrc timestamp outgoing buffers based on when they were received. Also make it output a segment in time.
This commit is contained in:
parent
2d15f70302
commit
4b25ca6267
2 changed files with 8 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-09-10 Wim Taymans <wim.taymans@gmail.com>
|
||||||
|
|
||||||
|
* gst/udp/gstudpsrc.c: (gst_udpsrc_init), (gst_udpsrc_create):
|
||||||
|
Make udpsrc timestamp outgoing buffers based on when they were received.
|
||||||
|
Also make it output a segment in time.
|
||||||
|
|
||||||
2007-09-10 Stefan Kost <ensonic@users.sf.net>
|
2007-09-10 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* gst/avi/gstavidemux.c:
|
* gst/avi/gstavidemux.c:
|
||||||
|
|
|
@ -322,6 +322,8 @@ gst_udpsrc_init (GstUDPSrc * udpsrc, GstUDPSrcClass * g_class)
|
||||||
udpsrc->sock = UDP_DEFAULT_SOCK;
|
udpsrc->sock = UDP_DEFAULT_SOCK;
|
||||||
udpsrc->control_sock[0] = -1;
|
udpsrc->control_sock[0] = -1;
|
||||||
udpsrc->control_sock[1] = -1;
|
udpsrc->control_sock[1] = -1;
|
||||||
|
gst_base_src_set_format (GST_BASE_SRC (udpsrc), GST_FORMAT_TIME);
|
||||||
|
gst_base_src_set_do_timestamp (GST_BASE_SRC (udpsrc), TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue