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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Dec 29 18:23:34 PST 2014


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

--- Comment #32 from kevin <kevinbing.song at gmail.com> 2014-12-30 02:23:27 UTC ---
I checked the code, propose below method to fix the issue. Please help to
review:

1. Audio sink will generate unlimited length mute audio when received GAP event
with -1 duration and write audio device until flush, state change.
gst_base_sink_wait_preroll() will call when interrupt and needn't preroll
buffer to finish preroll.
2. Video sink will enter GAP_EOS states after received GAP event with -1
duration and will call gst_base_sink_wait_preroll() when flush, state change,
so needn't buffer to finish preroll.
3. Streamersynchronizor needn't send GAP event in chain() function. Only need
send GAP event when received EOS event.

Is it reasonable? Will try the method and upload patch if the method is ok.

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