wtay gstreamer: gstreamer/ gstreamer/tools/

[email protected]
Newsgroups gmane.comp.video.gstreamer.cvs
Message-ID <[email protected]>
CVS Root:       /cvs/gstreamer
Module:         gstreamer
Changes by:     wtay
Date:           Fri Nov 21 2008  08:09:14 UTC

Log message:
* tools/gst-launch.c: (event_loop):
Make gst-launch handle LATENCY messages and make it recalculate the
latency.

Modified files:
    .               : ChangeLog
    tools           : gst-launch.c

Links:
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/ChangeLog.diff?r1=1.4167&r2=1.4168
http://freedesktop.org/cgi-bin/viewcvs.cgi/gstreamer/gstreamer/tools/gst-launch.c.diff?r1=1.134&r2=1.135

====Begin Diffs====
Index: ChangeLog
===================================================================
RCS file: /cvs/gstreamer/gstreamer/ChangeLog,v
retrieving revision 1.4167
retrieving revision 1.4168
diff -u -d -r1.4167 -r1.4168
--- ChangeLog	20 Nov 2008 21:05:13 -0000	1.4167
+++ ChangeLog	21 Nov 2008 08:08:56 -0000	1.4168
@@ -1,3 +1,9 @@
+2008-11-21  Wim Taymans  <[email protected]>
+
+	* tools/gst-launch.c: (event_loop):
+	Make gst-launch handle LATENCY messages and make it recalculate the
+	latency.
 2008-11-20  Michael Smith <[email protected]>
 
 	* plugins/elements/gstfilesrc.c:
Index: gst-launch.c
RCS file: /cvs/gstreamer/gstreamer/tools/gst-launch.c,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -d -r1.134 -r1.135
--- gst-launch.c	4 Nov 2008 15:52:09 -0000	1.134
+++ gst-launch.c	21 Nov 2008 08:09:00 -0000	1.135
@@ -549,6 +549,12 @@
         }
         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;

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.