[Bug 654294] [basevideodecoder] Impossible to flush pending frames in ::set_format

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Aug 12 01:29:16 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=654294
  GStreamer | gst-plugins-bad | 0.10.13

--- Comment #3 from Sebastian Dröge <slomo at circular-chaos.org> 2011-08-12 08:29:15 UTC ---
I'd propose to handle ::set_format() different in the encoder and decoder. For
the decoder just pass the caps to ::set_format() and only update the
GstVideoState if the srcpad caps are set. For the decoder the state would be
the output format, for the encoder the current input format. This probably
makes more sense from an API point of view too.

What do you think David?

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