[Bug 706955] autoaudiosink: Introduce "sync" property

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 28 01:44:07 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=706955
  GStreamer | gst-plugins-good | git

--- Comment #2 from Bernhard Miller <bernhard.miller at streamunlimited.com> 2013-08-28 08:44:00 UTC ---
I agree that it would be nice to have better handling of missing properties.
However, I just copied the code for ts-offset to provide the required
functionality for my use case. 

The child property is set after child creation, similar to ts-offset. 
See attached patch, line 52ff:

@@ -336,6 +344,7 @@ gst_auto_audio_sink_detect (GstAutoAudioSink * sink)
     goto no_sink;

   g_object_set (G_OBJECT (esink), "ts-offset", sink->ts_offset, NULL);
+  g_object_set (G_OBJECT (esink), "sync", sink->sync, NULL);

   sink->kid = esink;
   /* Ensure the child is brought up to the right state to match the parent

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list