tools/gst-launch.c: Make gst-launch handle LATENCY messages and make it recalculate the latency.

Original commit message from CVS:
* tools/gst-launch.c: (event_loop):
Make gst-launch handle LATENCY messages and make it recalculate the
latency.
This commit is contained in:
Wim Taymans 2008-11-21 08:09:00 +00:00
parent c9a4a6d6f5
commit d135413712
3 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2008-11-21 Wim Taymans <wim.taymans@collabora.co.uk>
* tools/gst-launch.c: (event_loop):
Make gst-launch handle LATENCY messages and make it recalculate the
latency.
2008-11-20 Michael Smith <msmith@songbirdnest.com>
* plugins/elements/gstfilesrc.c:

2
common

@ -1 +1 @@
Subproject commit edfb4b44ea433b0b83b8a2f27a6e0bcbccdc3f2f
Subproject commit e4b2fe44724e1c1a6e816ae4fbbae43d7f68f1ef

View file

@ -549,6 +549,12 @@ event_loop (GstElement * pipeline, gboolean blocking, GstState target_state)
}
break;
}
case GST_MESSAGE_LATENCY:
{
fprintf (stderr, _("Redistribute latency...\n"));
gst_bin_recalculate_latency (GST_BIN (pipeline));
break;
}
case GST_MESSAGE_APPLICATION:{
const GstStructure *s;