GSTLALNoFakeDisconts

GSTLALNoFakeDisconts — Fix broken GST_BUFFER_FLAG_DISCONT flags.

Properties

gboolean silent Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── GstObject
        ╰── GstElement
            ╰── GSTLALNoFakeDisconts

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.

Reviewed: 3d2cf9ea32085a2dd4854cb71b1cbaaf5547fc57 2014-08-12 K. Cannon, J. Creighton, B. Sathyaprakash.

Functions

Types and Values

GSTLAL_NOFAKEDISCONTS_TYPE

#define             GSTLAL_NOFAKEDISCONTS_TYPE


struct GSTLALNoFakeDisconts

struct GSTLALNoFakeDisconts;

struct GSTLALNoFakeDiscontsClass

struct GSTLALNoFakeDiscontsClass {
	GstElementClass parent_class;
};

Members

GstElementClass parent_class;

the parent class

 

Property Details

The “silent” property

  “silent”                   gboolean

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

Flags: Read / Write

Default value: FALSE