[Bug 736655] basesink: preroll issue for some clips which audio is shorter than video

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jan 19 18:59:53 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=736655
  GStreamer | gstreamer (core) | 1.2.3

--- Comment #65 from kevin <kevinbing.song at gmail.com> 2015-01-20 02:59:49 UTC ---
(In reply to comment #63)
> Review of attachment 294383 [details]:
> 
> ::: gst/playback/gststreamsynchronizer.c
> @@ +229,3 @@
> 
> +      event =
> +          gst_event_new_gap (stream->segment.position, stream->gap_duration);
> 
> Access to GAP duration should probably be protected by the mutex too

Those code is in gst_stream_synchronizer_wait(). gst_stream_synchronizer_wait()
is called in below code. gst_stream_synchronizer_wait() should be called with
GST_STREAM_SYNCHRONIZER_LOCK.

+          GST_STREAM_SYNCHRONIZER_LOCK (self);
+          self->send_gap_event = TRUE;
+          ret = gst_stream_synchronizer_wait (self, srcpad);
+          GST_STREAM_SYNCHRONIZER_UNLOCK (self);

-- 
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