From: Wim Taymans Date: Wed, 23 Nov 2005 13:14:46 +0000 (+0000) Subject: docs/design/part-TODO.txt: Update TODO. X-Git-Tag: RELEASE-0_9_6~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e0575c3793425f77b8f46f85ebc63b69821a3d0;p=platform%2Fupstream%2Fgstreamer.git docs/design/part-TODO.txt: Update TODO. Original commit message from CVS: * docs/design/part-TODO.txt: Update TODO. * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread): * gst/net/gstnetclientclock.h: Use parent fields for timeout and window_size. --- diff --git a/ChangeLog b/ChangeLog index b4bd5cf..000d307 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2005-11-23 Wim Taymans + + * docs/design/part-TODO.txt: + Update TODO. + + * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread): + * gst/net/gstnetclientclock.h: + Use parent fields for timeout and window_size. + 2005-11-23 Andy Wingo * check/net/gstnetclientclock.c (test_functioning): Adjust to diff --git a/docs/design/part-TODO.txt b/docs/design/part-TODO.txt index a8da5db..ebf52ea 100644 --- a/docs/design/part-TODO.txt +++ b/docs/design/part-TODO.txt @@ -7,14 +7,10 @@ API/ABI after the seek you want to get the new stream time that will actually be used to update the slider bar. -- convert framerate to GstFraction in GstCaps. - - make it possible to seek on other formats than bytes in basesrc. - GstEvent, GstMessage register like GstFormat or GstQuery. -- unblocking while seeking. gst_element_flush_pads (GstElement, gboolean); - - query POSITION/DURATION return accuracy. Just a flag or accuracy percentage. - add some sort of time/frame stepping functionality, either with a flag on the seek @@ -30,12 +26,12 @@ IMPLEMENTATION - implement latency calculation for live sources. -- implement master/slave clocks. - - implement QOS. - implement BUFFERSIZE. +- implement pad_block with probes. + DESIGN ------ @@ -44,7 +40,3 @@ DESIGN executing code. Can this be done with a flush to unlock all downstream chain functions? Do we do this automatically or let the app handle this? -- when a pipeline with a live source goes to PAUSED again, a sample is prerolled - in the sinks. This sample should be discarded, possibly with a flush event - started from the source. - diff --git a/gst/net/gstnetclientclock.c b/gst/net/gstnetclientclock.c index f508f94..47b2dd8 100644 --- a/gst/net/gstnetclientclock.c +++ b/gst/net/gstnetclientclock.c @@ -304,6 +304,7 @@ gst_net_client_clock_thread (gpointer data) fd_set read_fds; GstNetTimePacket *packet; gint ret; + GstClock *clock = data; while (TRUE) { ret = gst_net_client_clock_do_select (self, &read_fds); @@ -352,7 +353,7 @@ gst_net_client_clock_thread (gpointer data) g_free (packet); /* reset timeout */ - self->current_timeout = self->timeout; + self->current_timeout = clock->timeout; continue; } else if (FD_ISSET (self->sock, &read_fds)) { /* got data in */ diff --git a/gst/net/gstnetclientclock.h b/gst/net/gstnetclientclock.h index e85ee3f..c4af8c2 100644 --- a/gst/net/gstnetclientclock.h +++ b/gst/net/gstnetclientclock.h @@ -62,9 +62,6 @@ struct _GstNetClientClock { gchar *address; gint port; - gint window_size; - GstClockTime timeout; - /*< private >*/ int sock; int control_sock[2]; diff --git a/libs/gst/net/gstnetclientclock.c b/libs/gst/net/gstnetclientclock.c index f508f94..47b2dd8 100644 --- a/libs/gst/net/gstnetclientclock.c +++ b/libs/gst/net/gstnetclientclock.c @@ -304,6 +304,7 @@ gst_net_client_clock_thread (gpointer data) fd_set read_fds; GstNetTimePacket *packet; gint ret; + GstClock *clock = data; while (TRUE) { ret = gst_net_client_clock_do_select (self, &read_fds); @@ -352,7 +353,7 @@ gst_net_client_clock_thread (gpointer data) g_free (packet); /* reset timeout */ - self->current_timeout = self->timeout; + self->current_timeout = clock->timeout; continue; } else if (FD_ISSET (self->sock, &read_fds)) { /* got data in */ diff --git a/libs/gst/net/gstnetclientclock.h b/libs/gst/net/gstnetclientclock.h index e85ee3f..c4af8c2 100644 --- a/libs/gst/net/gstnetclientclock.h +++ b/libs/gst/net/gstnetclientclock.h @@ -62,9 +62,6 @@ struct _GstNetClientClock { gchar *address; gint port; - gint window_size; - GstClockTime timeout; - /*< private >*/ int sock; int control_sock[2];