[farsight2/master] msn: Make the fdsrc timestamp the buffers

Olivier CrĂȘte olivier.crete at collabora.co.uk
Wed Jul 22 12:57:05 PDT 2009


This way, it will act like a live source and will timestamp
the buffers with the current running time.
---
 gst/fsmsnconference/fs-msn-stream.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/fsmsnconference/fs-msn-stream.c b/gst/fsmsnconference/fs-msn-stream.c
index 66a838c..7aa7b29 100644
--- a/gst/fsmsnconference/fs-msn-stream.c
+++ b/gst/fsmsnconference/fs-msn-stream.c
@@ -557,7 +557,7 @@ _connected (
 
   if (self->priv->conference->max_direction == FS_DIRECTION_RECV)
     codecbin = gst_parse_bin_from_description (
-        "fdsrc name=fdsrc ! mimdec ! valve name=recv_valve", TRUE, &error);
+        "fdsrc name=fdsrc do-timestamp=true ! mimdec ! valve name=recv_valve", TRUE, &error);
   else
     codecbin = gst_parse_bin_from_description (
         "ffmpegcolorspace ! videoscale ! mimenc name=enc ! fdsink name=fdsink",
-- 
1.5.6.5



More information about the farsight-commits mailing list