[Bug 734617] videodecoder: Call the child class finish() function on stream changes

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 12 05:01:16 PDT 2014


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

Jan Schmidt <thaytan> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #283102|0                           |1
        is obsolete|                            |

--- Comment #4 from Jan Schmidt <thaytan at noraisin.net> 2014-08-12 12:01:12 UTC ---
Created an attachment (id=283178)
 View: https://bugzilla.gnome.org/attachment.cgi?id=283178
 Review: https://bugzilla.gnome.org/review?bug=734617&attachment=283178

videodecoder: Call the child class finish() function on stream changes

Call the subclass finish() function when a new STREAM_START
event is received, otherwise derived decoders (libav) that queue
data internally can output stale data when the new segment is
activated. Calling finish gives them the chance to drain.

Also reset last_timestamp_out when applying the output segment
change, to avoid decoder confusion over new timestamp timelines when
a seamless segment change happens.

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