[Bug 721835] segment format assertion fails when video decoding

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Jan 11 04:37:00 PST 2014


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

--- Comment #27 from Thiago Sousa Santos <thiago.sousa.santos at collabora.co.uk> 2014-01-11 12:36:55 UTC ---
(In reply to comment #26)
> Review of attachment 265987 [details]:
> 
> While this generally makes sense, why isn't the pending_events code in
> gst_video_decoder_prepare_finish_frame() taking care of this already? That's
> why it is there :)

It is because the frame that has the segment event never gets to
_prepare_finish_frame, libav decoder will call _release_frame that just
discards the frame and everything with it. IIRC if it called _drop_frame it
would go into _prepare_finish_frame before dropping, but it has other side
effects like updating the position and stuff like that.

Anyway I guess it is dangerous that the base class allows those events to be
dropped in _release_frame.

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