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.
This commit is contained in:
Wim Taymans 2005-11-23 13:14:46 +00:00
parent 269d554be4
commit 9e0575c379
6 changed files with 15 additions and 18 deletions

View file

@ -1,3 +1,12 @@
2005-11-23 Wim Taymans <wim@fluendo.com>
* 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 <wingo@pobox.com> 2005-11-23 Andy Wingo <wingo@pobox.com>
* check/net/gstnetclientclock.c (test_functioning): Adjust to * check/net/gstnetclientclock.c (test_functioning): Adjust to

View file

@ -7,14 +7,10 @@ API/ABI
after the seek you want to get the new stream time that will actually be used to after the seek you want to get the new stream time that will actually be used to
update the slider bar. update the slider bar.
- convert framerate to GstFraction in GstCaps.
- make it possible to seek on other formats than bytes in basesrc. - make it possible to seek on other formats than bytes in basesrc.
- GstEvent, GstMessage register like GstFormat or GstQuery. - 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. - 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 - 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 latency calculation for live sources.
- implement master/slave clocks.
- implement QOS. - implement QOS.
- implement BUFFERSIZE. - implement BUFFERSIZE.
- implement pad_block with probes.
DESIGN DESIGN
------ ------
@ -44,7 +40,3 @@ DESIGN
executing code. Can this be done with a flush to unlock all downstream chain 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? 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.

View file

@ -304,6 +304,7 @@ gst_net_client_clock_thread (gpointer data)
fd_set read_fds; fd_set read_fds;
GstNetTimePacket *packet; GstNetTimePacket *packet;
gint ret; gint ret;
GstClock *clock = data;
while (TRUE) { while (TRUE) {
ret = gst_net_client_clock_do_select (self, &read_fds); ret = gst_net_client_clock_do_select (self, &read_fds);
@ -352,7 +353,7 @@ gst_net_client_clock_thread (gpointer data)
g_free (packet); g_free (packet);
/* reset timeout */ /* reset timeout */
self->current_timeout = self->timeout; self->current_timeout = clock->timeout;
continue; continue;
} else if (FD_ISSET (self->sock, &read_fds)) { } else if (FD_ISSET (self->sock, &read_fds)) {
/* got data in */ /* got data in */

View file

@ -62,9 +62,6 @@ struct _GstNetClientClock {
gchar *address; gchar *address;
gint port; gint port;
gint window_size;
GstClockTime timeout;
/*< private >*/ /*< private >*/
int sock; int sock;
int control_sock[2]; int control_sock[2];

View file

@ -304,6 +304,7 @@ gst_net_client_clock_thread (gpointer data)
fd_set read_fds; fd_set read_fds;
GstNetTimePacket *packet; GstNetTimePacket *packet;
gint ret; gint ret;
GstClock *clock = data;
while (TRUE) { while (TRUE) {
ret = gst_net_client_clock_do_select (self, &read_fds); ret = gst_net_client_clock_do_select (self, &read_fds);
@ -352,7 +353,7 @@ gst_net_client_clock_thread (gpointer data)
g_free (packet); g_free (packet);
/* reset timeout */ /* reset timeout */
self->current_timeout = self->timeout; self->current_timeout = clock->timeout;
continue; continue;
} else if (FD_ISSET (self->sock, &read_fds)) { } else if (FD_ISSET (self->sock, &read_fds)) {
/* got data in */ /* got data in */

View file

@ -62,9 +62,6 @@ struct _GstNetClientClock {
gchar *address; gchar *address;
gint port; gint port;
gint window_size;
GstClockTime timeout;
/*< private >*/ /*< private >*/
int sock; int sock;
int control_sock[2]; int control_sock[2];