GSTLALNoFakeDisconts

GSTLALNoFakeDisconts — Fix broken GST_BUFFER_FLAG_DISCONT flags.

Synopsis

#define             GSTLAL_NOFAKEDISCONTS_TYPE
struct              GSTLALNoFakeDisconts;
struct              GSTLALNoFakeDiscontsClass;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----GSTLALNoFakeDisconts

Properties

  "silent"                   gboolean              : Read / Write

Description

The GStreamer base class GstBaseTransform requires one (or more) output buffers to be produced by subclasses for every input buffer received. If the subclass fails to produce an output buffer this is remembered by GstBaseTransform which then sets the GST_BUFFER_FLAG_DISCONT flag on the next output buffer, regardless of whether or not the buffer is, infact, discontinuous with any previous buffer. This is annoying, and since other elements often respond to the discontinuity by resetting themselves it creates problems. This bug aflicts several stock elements such as the audioresampler. To work around the problem, this element is available. This element monitors the data stream, watching timestamps and offsets, and sets or clears the discontinuity flag on each buffer based on exactly whether it is discontinuous with the previous buffer.

Details

GSTLAL_NOFAKEDISCONTS_TYPE

#define             GSTLAL_NOFAKEDISCONTS_TYPE


struct GSTLALNoFakeDisconts

struct GSTLALNoFakeDisconts;

struct GSTLALNoFakeDiscontsClass

struct GSTLALNoFakeDiscontsClass {
	GstElementClass parent_class;
};

Property Details

The "silent" property

  "silent"                   gboolean              : Read / Write

Don't print a message when alterning the flags in a buffer.

Default value: FALSE