[Bug 709224] audio/videodecoder: Not returning GST_FLOW_EOS when after segment

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 26 00:00:08 PDT 2014


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

--- Comment #68 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2014-05-26 07:00:01 UTC ---
(In reply to comment #66)
> Created an attachment (id=277170)
 View: https://bugzilla.gnome.org/attachment.cgi?id=277170
 Review: https://bugzilla.gnome.org/review?bug=709224&attachment=277170

> pad: store last flow return and provide acessor function
> 
> Updated the patch after the review.
> 
> A doubt I had was about the GST_PADDING at the end as sizeof(enum) can be
> different then sizeof(gpointer) depending on the compiler. How to have
> it consistent? Use unions? Any less ugly option or the compiler will add
> some padding itself as it should make it pointer-size aligned?

union {
  gpointer _gst_reserved[GST_PADDING];
  struct {
    GstFlowReturn last_flow;
  } abi;
} ABI;

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