QtGStreamer  0.10.2
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Namespaces | Classes | Typedefs | Enumerations | Functions
QGst Namespace Reference

Namespaces

 Ui
 
 Utils
 
 Parse
 

Classes

class  Bin
 
class  Buffer
 
class  BufferList
 
class  BufferListIterator
 
class  Bus
 
class  Caps
 
interface  ChildProxy
 
class  Clock
 
class  ClockTime
 
class  ColorBalanceChannel
 
class  ColorBalance
 
class  Element
 
class  ElementFactory
 
class  Event
 
class  FlushStartEvent
 
class  FlushStopEvent
 
class  EosEvent
 
class  NewSegmentEvent
 
class  TagEvent
 
class  BufferSizeEvent
 
class  SinkMessageEvent
 
class  QosEvent
 
class  SeekEvent
 
class  NavigationEvent
 
class  LatencyEvent
 
class  StepEvent
 
class  GhostPad
 
class  Message
 
class  EosMessage
 
class  ErrorMessage
 
class  WarningMessage
 
class  InfoMessage
 
class  TagMessage
 
class  BufferingMessage
 
class  StateChangedMessage
 
class  StepDoneMessage
 
class  StreamStatusMessage
 
class  ApplicationMessage
 
class  ElementMessage
 
class  SegmentDoneMessage
 
class  DurationMessage
 
class  LatencyMessage
 
class  AsyncDoneMessage
 
class  RequestStateMessage
 
class  StepStartMessage
 
class  QosMessage
 
class  MiniObject
 
class  Object
 
class  Pad
 
class  Pipeline
 
class  PluginFeature
 
interface  PropertyProbe
 
class  Query
 
class  PositionQuery
 
class  DurationQuery
 
class  LatencyQuery
 
class  SeekingQuery
 
class  SegmentQuery
 
class  ConvertQuery
 
class  FormatsQuery
 
class  BufferingQuery
 
class  UriQuery
 
class  StreamVolume
 
struct  Fourcc
 
struct  Fraction
 
class  Structure
 
class  SharedStructure
 
class  TagList
 
interface  UriHandler
 
interface  VideoOrientation
 
interface  XOverlay
 

Typedefs

typedef QGlib::RefPointer< Bin > BinPtr
 
typedef QGlib::RefPointer< Bus > BusPtr
 
typedef QGlib::RefPointer< Caps > CapsPtr
 
typedef QGlib::RefPointer
< ChildProxy > 
ChildProxyPtr
 
typedef QGlib::RefPointer< Clock > ClockPtr
 
typedef QGlib::RefPointer
< ColorBalanceChannel > 
ColorBalanceChannelPtr
 
typedef QGlib::RefPointer
< ColorBalance > 
ColorBalancePtr
 
typedef QGlib::RefPointer
< Element > 
ElementPtr
 
typedef QGlib::RefPointer
< ElementFactory > 
ElementFactoryPtr
 
typedef QGlib::RefPointer
< GhostPad > 
GhostPadPtr
 
typedef QGlib::RefPointer
< Message > 
MessagePtr
 
typedef QGlib::RefPointer
< EosMessage > 
EosMessagePtr
 
typedef QGlib::RefPointer
< ErrorMessage > 
ErrorMessagePtr
 
typedef QGlib::RefPointer
< WarningMessage > 
WarningMessagePtr
 
typedef QGlib::RefPointer
< InfoMessage > 
InfoMessagePtr
 
typedef QGlib::RefPointer
< TagMessage > 
TagMessagePtr
 
typedef QGlib::RefPointer
< BufferingMessage > 
BufferingMessagePtr
 
typedef QGlib::RefPointer
< StateChangedMessage > 
StateChangedMessagePtr
 
typedef QGlib::RefPointer
< StepDoneMessage > 
StepDoneMessagePtr
 
typedef QGlib::RefPointer
< StreamStatusMessage > 
StreamStatusMessagePtr
 
typedef QGlib::RefPointer
< ApplicationMessage > 
ApplicationMessagePtr
 
typedef QGlib::RefPointer
< ElementMessage > 
ElementMessagePtr
 
typedef QGlib::RefPointer
< SegmentDoneMessage > 
SegmentDoneMessagePtr
 
typedef QGlib::RefPointer
< DurationMessage > 
DurationMessagePtr
 
typedef QGlib::RefPointer
< LatencyMessage > 
LatencyMessagePtr
 
typedef QGlib::RefPointer
< AsyncDoneMessage > 
AsyncDoneMessagePtr
 
typedef QGlib::RefPointer
< RequestStateMessage > 
RequestStateMessagePtr
 
typedef QGlib::RefPointer
< StepStartMessage > 
StepStartMessagePtr
 
typedef QGlib::RefPointer
< QosMessage > 
QosMessagePtr
 
typedef QGlib::RefPointer
< MiniObject > 
MiniObjectPtr
 
typedef QGlib::RefPointer< Object > ObjectPtr
 
typedef QGlib::RefPointer< Pad > PadPtr
 
typedef QGlib::RefPointer
< Pipeline > 
PipelinePtr
 
typedef QGlib::RefPointer
< PluginFeature > 
PluginFeaturePtr
 
typedef QGlib::RefPointer
< PropertyProbe > 
PropertyProbePtr
 
typedef QGlib::RefPointer< Query > QueryPtr
 
typedef QGlib::RefPointer
< PositionQuery > 
PositionQueryPtr
 
typedef QGlib::RefPointer
< DurationQuery > 
DurationQueryPtr
 
typedef QGlib::RefPointer
< LatencyQuery > 
LatencyQueryPtr
 
typedef QGlib::RefPointer
< SeekingQuery > 
SeekingQueryPtr
 
typedef QGlib::RefPointer
< SegmentQuery > 
SegmentQueryPtr
 
typedef QGlib::RefPointer
< ConvertQuery > 
ConvertQueryPtr
 
typedef QGlib::RefPointer
< FormatsQuery > 
FormatsQueryPtr
 
typedef QGlib::RefPointer
< BufferingQuery > 
BufferingQueryPtr
 
typedef QGlib::RefPointer
< UriQuery > 
UriQueryPtr
 
typedef QGlib::RefPointer< Buffer > BufferPtr
 
typedef QGlib::RefPointer
< BufferList > 
BufferListPtr
 
typedef QGlib::RefPointer< Event > EventPtr
 
typedef QGlib::RefPointer
< FlushStartEvent > 
FlushStartEventPtr
 
typedef QGlib::RefPointer
< FlushStopEvent > 
FlushStopEventPtr
 
typedef QGlib::RefPointer
< EosEvent > 
EosEventPtr
 
typedef QGlib::RefPointer
< NewSegmentEvent > 
NewSegmentEventPtr
 
typedef QGlib::RefPointer
< TagEvent > 
TagEventPtr
 
typedef QGlib::RefPointer
< BufferSizeEvent > 
BufferSizeEventPtr
 
typedef QGlib::RefPointer
< SinkMessageEvent > 
SinkMessageEventPtr
 
typedef QGlib::RefPointer
< QosEvent > 
QosEventPtr
 
typedef QGlib::RefPointer
< SeekEvent > 
SeekEventPtr
 
typedef QGlib::RefPointer
< NavigationEvent > 
NavigationEventPtr
 
typedef QGlib::RefPointer
< LatencyEvent > 
LatencyEventPtr
 
typedef QGlib::RefPointer
< StepEvent > 
StepEventPtr
 
typedef QGlib::RefPointer
< StreamVolume > 
StreamVolumePtr
 
typedef QSharedPointer
< SharedStructure > 
StructurePtr
 
typedef QGlib::RefPointer
< UriHandler > 
UriHandlerPtr
 
typedef QGlib::RefPointer
< VideoOrientation > 
VideoOrientationPtr
 
typedef QGlib::RefPointer
< XOverlay > 
XOverlayPtr
 
typedef Private::Range< int > IntRange
 
typedef Private::Range< qint64 > Int64Range
 
typedef Private::Range< double > DoubleRange
 
typedef Private::Range< Fraction > FractionRange
 

Enumerations

enum  MiniObjectFlag { MiniObjectFlagReadonly = (1<<0), MiniObjectFlagLast = (1<<4) }
 
enum  ObjectFlag { ObjectDisposing = (1<<0), ObjectFloating = (1<<1), ObjectFlagLast = (1<<4) }
 
enum  State {
  StateVoidPending = 0, StateNull = 1, StateReady = 2, StatePaused = 3,
  StatePlaying = 4
}
 
enum  StateChange {
  StateChangeNullToReady = (StateNull<<3) | StateReady, StateChangeReadyToPaused = (StateReady<<3) | StatePaused, StateChangePausedToPlaying = (StatePaused<<3) | StatePlaying, StateChangePlayingToPaused = (StatePlaying<<3) | StatePaused,
  StateChangePausedToReady = (StatePaused<<3) | StateReady, StateChangeReadyToNull = (StateReady<<3) | StateNull
}
 
enum  StateChangeReturn { StateChangeFailure = 0, StateChangeSuccess = 1, StateChangeAsync = 2, StateChangeNoPreroll = 3 }
 
enum  PadDirection { PadUnknown, PadSrc, PadSink }
 
enum  PadFlag {
  PadBlocked = (ObjectFlagLast << 0), PadFlushing = (ObjectFlagLast << 1), PadInGetCaps = (ObjectFlagLast << 2), PadInSetCaps = (ObjectFlagLast << 3),
  PadBlocking = (ObjectFlagLast << 4), PadFlagLast = (ObjectFlagLast << 8)
}
 
enum  PadLinkReturn {
  PadLinkOk = 0, PadLinkWrongHierarchy = -1, PadLinkWasLinked = -2, PadLinkWrongDirection = -3,
  PadLinkNoFormat = -4, PadLinkNoSched = -5, PadLinkRefused = -6
}
 
enum  FlowReturn {
  FlowCustomSuccess = 100, FlowResend = 1, FlowOk = 0, FlowNotLinked = -1,
  FlowWrongState = -2, FlowUnexpected = -3, FlowNotNegotiated = -4, FlowError = -5,
  FlowNotSupported = -6, FlowCustomError = -100
}
 
enum  ActivateMode { ActivateNone, ActivatePush, ActivatePull }
 
enum  Rank { RankNone = 0, RankMarginal = 64, RankSecondary = 128, RankPrimary = 256 }
 
enum  MessageType {
  MessageUnknown = 0, MessageEos = (1 << 0), MessageError = (1 << 1), MessageWarning = (1 << 2),
  MessageInfo = (1 << 3), MessageTag = (1 << 4), MessageBuffering = (1 << 5), MessageStateChanged = (1 << 6),
  MessageStateDirty = (1 << 7), MessageStepDone = (1 << 8), MessageClockProvide = (1 << 9), MessageClockLost = (1 << 10),
  MessageNewClock = (1 << 11), MessageStructureChange = (1 << 12), MessageStreamStatus = (1 << 13), MessageApplication = (1 << 14),
  MessageElement = (1 << 15), MessageSegmentStart = (1 << 16), MessageSegmentDone = (1 << 17), MessageDuration = (1 << 18),
  MessageLatency = (1 << 19), MessageAsyncStart = (1 << 20), MessageAsyncDone = (1 << 21), MessageRequestState = (1 << 22),
  MessageStepStart = (1 << 23), MessageQos = (1 << 24), MessageAny = ~0
}
 
enum  ParseError {
  ParseErrorSyntax, ParseErrorNoSuchElement, ParseErrorNoSuchProperty, ParseErrorLink,
  ParseErrorCouldNotSetProperty, ParseErrorEmptyBin, ParseErrorEmpty
}
 
enum  UriType { UriUnknown, UriSink, UriSrc }
 
enum  BufferingMode { BufferingStream, BufferingDownload, BufferingTimeshift, BufferingLive }
 
enum  Format {
  FormatUndefined, FormatDefault, FormatBytes, FormatTime,
  FormatBuffers, FormatPercent
}
 
enum  StreamStatusType {
  StreamStatusTypeCreate = 0, StreamStatusTypeEnter = 1, StreamStatusTypeLeave = 2, StreamStatusTypeDestroy = 3,
  StreamStatusTypeStart = 8, StreamStatusTypePause = 9, StreamStatusTypeStop = 10
}
 
enum  StreamVolumeFormat { StreamVolumeFormatLinear, StreamVolumeFormatCubic, StreamVolumeFormatDb }
 
enum  ColorBalanceType { ColorBalanceHardware, ColorBalanceSoftware }
 
enum  QueryType {
  QueryNone = 0, QueryPosition, QueryDuration, QueryLatency,
  QueryJitter, QueryRate, QuerySeeking, QuerySegment,
  QueryConvert, QueryFormats, QueryBuffering, QueryCustom,
  QueryUri
}
 
enum  BufferFlag {
  BufferFlagReadOnly = MiniObjectFlagReadonly, BufferFlagPreroll = (MiniObjectFlagLast << 0), BufferFlagDiscont = (MiniObjectFlagLast << 1), BufferFlagInCaps = (MiniObjectFlagLast << 2),
  BufferFlagGap = (MiniObjectFlagLast << 3), BufferFlagDeltaUnit = (MiniObjectFlagLast << 4), BufferFlagMedia1 = (MiniObjectFlagLast << 5), BufferFlagMedia2 = (MiniObjectFlagLast << 6),
  BufferFlagMedia3 = (MiniObjectFlagLast << 7), BufferFlagLast = (MiniObjectFlagLast << 8)
}
 
enum  EventType {
  EventUnknown = (0 << 4), EventFlushStart = (1 << 4) | EventTypeBoth, EventFlushStop = (2 << 4) | EventTypeBoth | EventTypeSerialized, EventEos = (5 << 4) | EventTypeDownstream | EventTypeSerialized,
  EventNewSegment = (6 << 4) | EventTypeDownstream | EventTypeSerialized, EventTag = (7 << 4) | EventTypeDownstream | EventTypeSerialized, EventBufferSize = (8 << 4) | EventTypeDownstream | EventTypeSerialized, EventSinkMessage = (9 << 4) | EventTypeDownstream | EventTypeSerialized,
  EventQos = (15 << 4) | EventTypeUpstream, EventSeek = (16 << 4) | EventTypeUpstream, EventNavigation = (17 << 4) | EventTypeUpstream, EventLatency = (18 << 4) | EventTypeUpstream,
  EventStep = (19 << 4) | EventTypeUpstream, EventCustomUpstream = (32 << 4) | EventTypeUpstream, EventCustomDownstream = (32 << 4) | EventTypeDownstream | EventTypeSerialized, EventCustomDownstreamOob = (32 << 4) | EventTypeDownstream,
  EventCustomBoth = (32 << 4) | EventTypeBoth | EventTypeSerialized, EventCustomBothOob = (32 << 4) | EventTypeBoth
}
 
enum  SeekFlag {
  SeekFlagNone = 0, SeekFlagFlush = (1 << 0), SeekFlagAccurate = (1 << 1), SeekFlagKeyUnit = (1 << 2),
  SeekFlagSegment = (1 << 3), SeekFlagSkip = (1 << 4)
}
 
enum  SeekType { SeekTypeNone = 0, SeekTypeCur = 1, SeekTypeSet = 2, SeekTypeEnd = 3 }
 
enum  TagMergeMode {
  TagMergeUndefined, TagMergeReplaceAll, TagMergeReplace, TagMergeAppend,
  TagMergePrepend, TagMergeKeep, TagMergeKeepAll, TagMergeCount
}
 
enum  TagFlag {
  TagFlagUndefined, TagFlagMeta, TagFlagEncoded, TagFlagDecoded,
  TagFlagCount
}
 

Functions

QDebug operator<< (QDebug debug, const CapsPtr &caps)
 
QGlib::RefCountedObject * BufferList_new (void *instance)
 
QGlib::RefCountedObject * Bin_new (void *instance)
 
QGlib::RefCountedObject * Event_new (void *instance)
 
QGlib::RefCountedObject * GhostPad_new (void *instance)
 
QGlib::RefCountedObject * Pipeline_new (void *instance)
 
QGlib::RefCountedObject * ChildProxy_new (void *instance)
 
QGlib::RefCountedObject * PluginFeature_new (void *instance)
 
QGlib::RefCountedObject * Bus_new (void *instance)
 
QGlib::RefCountedObject * Message_new (void *instance)
 
QGlib::RefCountedObject * VideoOrientation_new (void *instance)
 
QGlib::RefCountedObject * ElementFactory_new (void *instance)
 
QGlib::RefCountedObject * Clock_new (void *instance)
 
QGlib::RefCountedObject * StreamVolume_new (void *instance)
 
QGlib::RefCountedObject * Query_new (void *instance)
 
QGlib::RefCountedObject * PropertyProbe_new (void *instance)
 
QGlib::RefCountedObject * MiniObject_new (void *instance)
 
QGlib::RefCountedObject * XOverlay_new (void *instance)
 
QGlib::RefCountedObject * ColorBalanceChannel_new (void *instance)
 
QGlib::RefCountedObject * ColorBalance_new (void *instance)
 
QGlib::RefCountedObject * Pad_new (void *instance)
 
 BOOST_STATIC_ASSERT (static_cast< int >(MiniObjectFlagReadonly)==static_cast< int >(GST_MINI_OBJECT_FLAG_READONLY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MiniObjectFlagLast)==static_cast< int >(GST_MINI_OBJECT_FLAG_LAST))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ObjectDisposing)==static_cast< int >(GST_OBJECT_DISPOSING))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ObjectFloating)==static_cast< int >(GST_OBJECT_FLOATING))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ObjectFlagLast)==static_cast< int >(GST_OBJECT_FLAG_LAST))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StateVoidPending)==static_cast< int >(GST_STATE_VOID_PENDING))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StateNull)==static_cast< int >(GST_STATE_NULL))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StateReady)==static_cast< int >(GST_STATE_READY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StatePaused)==static_cast< int >(GST_STATE_PAUSED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StatePlaying)==static_cast< int >(GST_STATE_PLAYING))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StateChangeNullToReady)==static_cast< int >(GST_STATE_CHANGE_NULL_TO_READY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StateChangeReadyToPaused)==static_cast< int >(GST_STATE_CHANGE_READY_TO_PAUSED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StateChangePausedToPlaying)==static_cast< int >(GST_STATE_CHANGE_PAUSED_TO_PLAYING))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StateChangePlayingToPaused)==static_cast< int >(GST_STATE_CHANGE_PLAYING_TO_PAUSED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StateChangePausedToReady)==static_cast< int >(GST_STATE_CHANGE_PAUSED_TO_READY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StateChangeReadyToNull)==static_cast< int >(GST_STATE_CHANGE_READY_TO_NULL))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StateChangeFailure)==static_cast< int >(GST_STATE_CHANGE_FAILURE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StateChangeSuccess)==static_cast< int >(GST_STATE_CHANGE_SUCCESS))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StateChangeAsync)==static_cast< int >(GST_STATE_CHANGE_ASYNC))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StateChangeNoPreroll)==static_cast< int >(GST_STATE_CHANGE_NO_PREROLL))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadUnknown)==static_cast< int >(GST_PAD_UNKNOWN))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadSrc)==static_cast< int >(GST_PAD_SRC))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadSink)==static_cast< int >(GST_PAD_SINK))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadBlocked)==static_cast< int >(GST_PAD_BLOCKED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadFlushing)==static_cast< int >(GST_PAD_FLUSHING))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadInGetCaps)==static_cast< int >(GST_PAD_IN_GETCAPS))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadInSetCaps)==static_cast< int >(GST_PAD_IN_SETCAPS))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadBlocking)==static_cast< int >(GST_PAD_BLOCKING))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadFlagLast)==static_cast< int >(GST_PAD_FLAG_LAST))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadLinkOk)==static_cast< int >(GST_PAD_LINK_OK))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadLinkWrongHierarchy)==static_cast< int >(GST_PAD_LINK_WRONG_HIERARCHY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadLinkWasLinked)==static_cast< int >(GST_PAD_LINK_WAS_LINKED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadLinkWrongDirection)==static_cast< int >(GST_PAD_LINK_WRONG_DIRECTION))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadLinkNoFormat)==static_cast< int >(GST_PAD_LINK_NOFORMAT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadLinkNoSched)==static_cast< int >(GST_PAD_LINK_NOSCHED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(PadLinkRefused)==static_cast< int >(GST_PAD_LINK_REFUSED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FlowCustomSuccess)==static_cast< int >(GST_FLOW_CUSTOM_SUCCESS))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FlowResend)==static_cast< int >(GST_FLOW_RESEND))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FlowOk)==static_cast< int >(GST_FLOW_OK))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FlowNotLinked)==static_cast< int >(GST_FLOW_NOT_LINKED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FlowWrongState)==static_cast< int >(GST_FLOW_WRONG_STATE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FlowUnexpected)==static_cast< int >(GST_FLOW_UNEXPECTED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FlowNotNegotiated)==static_cast< int >(GST_FLOW_NOT_NEGOTIATED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FlowError)==static_cast< int >(GST_FLOW_ERROR))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FlowNotSupported)==static_cast< int >(GST_FLOW_NOT_SUPPORTED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FlowCustomError)==static_cast< int >(GST_FLOW_CUSTOM_ERROR))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ActivateNone)==static_cast< int >(GST_ACTIVATE_NONE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ActivatePush)==static_cast< int >(GST_ACTIVATE_PUSH))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ActivatePull)==static_cast< int >(GST_ACTIVATE_PULL))
 
 BOOST_STATIC_ASSERT (static_cast< int >(RankNone)==static_cast< int >(GST_RANK_NONE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(RankMarginal)==static_cast< int >(GST_RANK_MARGINAL))
 
 BOOST_STATIC_ASSERT (static_cast< int >(RankSecondary)==static_cast< int >(GST_RANK_SECONDARY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(RankPrimary)==static_cast< int >(GST_RANK_PRIMARY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageUnknown)==static_cast< int >(GST_MESSAGE_UNKNOWN))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageEos)==static_cast< int >(GST_MESSAGE_EOS))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageError)==static_cast< int >(GST_MESSAGE_ERROR))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageWarning)==static_cast< int >(GST_MESSAGE_WARNING))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageInfo)==static_cast< int >(GST_MESSAGE_INFO))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageTag)==static_cast< int >(GST_MESSAGE_TAG))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageBuffering)==static_cast< int >(GST_MESSAGE_BUFFERING))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageStateChanged)==static_cast< int >(GST_MESSAGE_STATE_CHANGED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageStateDirty)==static_cast< int >(GST_MESSAGE_STATE_DIRTY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageStepDone)==static_cast< int >(GST_MESSAGE_STEP_DONE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageClockProvide)==static_cast< int >(GST_MESSAGE_CLOCK_PROVIDE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageClockLost)==static_cast< int >(GST_MESSAGE_CLOCK_LOST))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageNewClock)==static_cast< int >(GST_MESSAGE_NEW_CLOCK))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageStructureChange)==static_cast< int >(GST_MESSAGE_STRUCTURE_CHANGE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageStreamStatus)==static_cast< int >(GST_MESSAGE_STREAM_STATUS))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageApplication)==static_cast< int >(GST_MESSAGE_APPLICATION))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageElement)==static_cast< int >(GST_MESSAGE_ELEMENT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageSegmentStart)==static_cast< int >(GST_MESSAGE_SEGMENT_START))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageSegmentDone)==static_cast< int >(GST_MESSAGE_SEGMENT_DONE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageDuration)==static_cast< int >(GST_MESSAGE_DURATION))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageLatency)==static_cast< int >(GST_MESSAGE_LATENCY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageAsyncStart)==static_cast< int >(GST_MESSAGE_ASYNC_START))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageAsyncDone)==static_cast< int >(GST_MESSAGE_ASYNC_DONE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageRequestState)==static_cast< int >(GST_MESSAGE_REQUEST_STATE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageStepStart)==static_cast< int >(GST_MESSAGE_STEP_START))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageQos)==static_cast< int >(GST_MESSAGE_QOS))
 
 BOOST_STATIC_ASSERT (static_cast< int >(MessageAny)==static_cast< int >(GST_MESSAGE_ANY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ParseErrorSyntax)==static_cast< int >(GST_PARSE_ERROR_SYNTAX))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ParseErrorNoSuchElement)==static_cast< int >(GST_PARSE_ERROR_NO_SUCH_ELEMENT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ParseErrorNoSuchProperty)==static_cast< int >(GST_PARSE_ERROR_NO_SUCH_PROPERTY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ParseErrorLink)==static_cast< int >(GST_PARSE_ERROR_LINK))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ParseErrorCouldNotSetProperty)==static_cast< int >(GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ParseErrorEmptyBin)==static_cast< int >(GST_PARSE_ERROR_EMPTY_BIN))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ParseErrorEmpty)==static_cast< int >(GST_PARSE_ERROR_EMPTY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(UriUnknown)==static_cast< int >(GST_URI_UNKNOWN))
 
 BOOST_STATIC_ASSERT (static_cast< int >(UriSink)==static_cast< int >(GST_URI_SINK))
 
 BOOST_STATIC_ASSERT (static_cast< int >(UriSrc)==static_cast< int >(GST_URI_SRC))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferingStream)==static_cast< int >(GST_BUFFERING_STREAM))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferingDownload)==static_cast< int >(GST_BUFFERING_DOWNLOAD))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferingTimeshift)==static_cast< int >(GST_BUFFERING_TIMESHIFT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferingLive)==static_cast< int >(GST_BUFFERING_LIVE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FormatUndefined)==static_cast< int >(GST_FORMAT_UNDEFINED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FormatDefault)==static_cast< int >(GST_FORMAT_DEFAULT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FormatBytes)==static_cast< int >(GST_FORMAT_BYTES))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FormatTime)==static_cast< int >(GST_FORMAT_TIME))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FormatBuffers)==static_cast< int >(GST_FORMAT_BUFFERS))
 
 BOOST_STATIC_ASSERT (static_cast< int >(FormatPercent)==static_cast< int >(GST_FORMAT_PERCENT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StreamStatusTypeCreate)==static_cast< int >(GST_STREAM_STATUS_TYPE_CREATE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StreamStatusTypeEnter)==static_cast< int >(GST_STREAM_STATUS_TYPE_ENTER))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StreamStatusTypeLeave)==static_cast< int >(GST_STREAM_STATUS_TYPE_LEAVE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StreamStatusTypeDestroy)==static_cast< int >(GST_STREAM_STATUS_TYPE_DESTROY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StreamStatusTypeStart)==static_cast< int >(GST_STREAM_STATUS_TYPE_START))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StreamStatusTypePause)==static_cast< int >(GST_STREAM_STATUS_TYPE_PAUSE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StreamStatusTypeStop)==static_cast< int >(GST_STREAM_STATUS_TYPE_STOP))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StreamVolumeFormatLinear)==static_cast< int >(GST_STREAM_VOLUME_FORMAT_LINEAR))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StreamVolumeFormatCubic)==static_cast< int >(GST_STREAM_VOLUME_FORMAT_CUBIC))
 
 BOOST_STATIC_ASSERT (static_cast< int >(StreamVolumeFormatDb)==static_cast< int >(GST_STREAM_VOLUME_FORMAT_DB))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ColorBalanceHardware)==static_cast< int >(GST_COLOR_BALANCE_HARDWARE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(ColorBalanceSoftware)==static_cast< int >(GST_COLOR_BALANCE_SOFTWARE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(QueryNone)==static_cast< int >(GST_QUERY_NONE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(QueryPosition)==static_cast< int >(GST_QUERY_POSITION))
 
 BOOST_STATIC_ASSERT (static_cast< int >(QueryDuration)==static_cast< int >(GST_QUERY_DURATION))
 
 BOOST_STATIC_ASSERT (static_cast< int >(QueryLatency)==static_cast< int >(GST_QUERY_LATENCY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(QueryJitter)==static_cast< int >(GST_QUERY_JITTER))
 
 BOOST_STATIC_ASSERT (static_cast< int >(QueryRate)==static_cast< int >(GST_QUERY_RATE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(QuerySeeking)==static_cast< int >(GST_QUERY_SEEKING))
 
 BOOST_STATIC_ASSERT (static_cast< int >(QuerySegment)==static_cast< int >(GST_QUERY_SEGMENT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(QueryConvert)==static_cast< int >(GST_QUERY_CONVERT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(QueryFormats)==static_cast< int >(GST_QUERY_FORMATS))
 
 BOOST_STATIC_ASSERT (static_cast< int >(QueryBuffering)==static_cast< int >(GST_QUERY_BUFFERING))
 
 BOOST_STATIC_ASSERT (static_cast< int >(QueryCustom)==static_cast< int >(GST_QUERY_CUSTOM))
 
 BOOST_STATIC_ASSERT (static_cast< int >(QueryUri)==static_cast< int >(GST_QUERY_URI))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferFlagReadOnly)==static_cast< int >(GST_BUFFER_FLAG_READONLY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferFlagPreroll)==static_cast< int >(GST_BUFFER_FLAG_PREROLL))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferFlagDiscont)==static_cast< int >(GST_BUFFER_FLAG_DISCONT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferFlagInCaps)==static_cast< int >(GST_BUFFER_FLAG_IN_CAPS))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferFlagGap)==static_cast< int >(GST_BUFFER_FLAG_GAP))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferFlagDeltaUnit)==static_cast< int >(GST_BUFFER_FLAG_DELTA_UNIT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferFlagMedia1)==static_cast< int >(GST_BUFFER_FLAG_MEDIA1))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferFlagMedia2)==static_cast< int >(GST_BUFFER_FLAG_MEDIA2))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferFlagMedia3)==static_cast< int >(GST_BUFFER_FLAG_MEDIA3))
 
 BOOST_STATIC_ASSERT (static_cast< int >(BufferFlagLast)==static_cast< int >(GST_BUFFER_FLAG_LAST))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventTypeUpstream)==static_cast< int >(GST_EVENT_TYPE_UPSTREAM))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventTypeDownstream)==static_cast< int >(GST_EVENT_TYPE_DOWNSTREAM))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventTypeSerialized)==static_cast< int >(GST_EVENT_TYPE_SERIALIZED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventTypeBoth)==static_cast< int >(GST_EVENT_TYPE_BOTH))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventUnknown)==static_cast< int >(GST_EVENT_UNKNOWN))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventFlushStart)==static_cast< int >(GST_EVENT_FLUSH_START))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventFlushStop)==static_cast< int >(GST_EVENT_FLUSH_STOP))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventEos)==static_cast< int >(GST_EVENT_EOS))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventNewSegment)==static_cast< int >(GST_EVENT_NEWSEGMENT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventTag)==static_cast< int >(GST_EVENT_TAG))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventBufferSize)==static_cast< int >(GST_EVENT_BUFFERSIZE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventSinkMessage)==static_cast< int >(GST_EVENT_SINK_MESSAGE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventQos)==static_cast< int >(GST_EVENT_QOS))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventSeek)==static_cast< int >(GST_EVENT_SEEK))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventNavigation)==static_cast< int >(GST_EVENT_NAVIGATION))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventLatency)==static_cast< int >(GST_EVENT_LATENCY))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventStep)==static_cast< int >(GST_EVENT_STEP))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventCustomUpstream)==static_cast< int >(GST_EVENT_CUSTOM_UPSTREAM))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventCustomDownstream)==static_cast< int >(GST_EVENT_CUSTOM_DOWNSTREAM))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventCustomDownstreamOob)==static_cast< int >(GST_EVENT_CUSTOM_DOWNSTREAM_OOB))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventCustomBoth)==static_cast< int >(GST_EVENT_CUSTOM_BOTH))
 
 BOOST_STATIC_ASSERT (static_cast< int >(EventCustomBothOob)==static_cast< int >(GST_EVENT_CUSTOM_BOTH_OOB))
 
 BOOST_STATIC_ASSERT (static_cast< int >(SeekFlagNone)==static_cast< int >(GST_SEEK_FLAG_NONE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(SeekFlagFlush)==static_cast< int >(GST_SEEK_FLAG_FLUSH))
 
 BOOST_STATIC_ASSERT (static_cast< int >(SeekFlagAccurate)==static_cast< int >(GST_SEEK_FLAG_ACCURATE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(SeekFlagKeyUnit)==static_cast< int >(GST_SEEK_FLAG_KEY_UNIT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(SeekFlagSegment)==static_cast< int >(GST_SEEK_FLAG_SEGMENT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(SeekFlagSkip)==static_cast< int >(GST_SEEK_FLAG_SKIP))
 
 BOOST_STATIC_ASSERT (static_cast< int >(SeekTypeNone)==static_cast< int >(GST_SEEK_TYPE_NONE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(SeekTypeCur)==static_cast< int >(GST_SEEK_TYPE_CUR))
 
 BOOST_STATIC_ASSERT (static_cast< int >(SeekTypeSet)==static_cast< int >(GST_SEEK_TYPE_SET))
 
 BOOST_STATIC_ASSERT (static_cast< int >(SeekTypeEnd)==static_cast< int >(GST_SEEK_TYPE_END))
 
 BOOST_STATIC_ASSERT (static_cast< int >(TagMergeUndefined)==static_cast< int >(GST_TAG_MERGE_UNDEFINED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(TagMergeReplaceAll)==static_cast< int >(GST_TAG_MERGE_REPLACE_ALL))
 
 BOOST_STATIC_ASSERT (static_cast< int >(TagMergeReplace)==static_cast< int >(GST_TAG_MERGE_REPLACE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(TagMergeAppend)==static_cast< int >(GST_TAG_MERGE_APPEND))
 
 BOOST_STATIC_ASSERT (static_cast< int >(TagMergePrepend)==static_cast< int >(GST_TAG_MERGE_PREPEND))
 
 BOOST_STATIC_ASSERT (static_cast< int >(TagMergeKeep)==static_cast< int >(GST_TAG_MERGE_KEEP))
 
 BOOST_STATIC_ASSERT (static_cast< int >(TagMergeKeepAll)==static_cast< int >(GST_TAG_MERGE_KEEP_ALL))
 
 BOOST_STATIC_ASSERT (static_cast< int >(TagMergeCount)==static_cast< int >(GST_TAG_MERGE_COUNT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(TagFlagUndefined)==static_cast< int >(GST_TAG_FLAG_UNDEFINED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(TagFlagMeta)==static_cast< int >(GST_TAG_FLAG_META))
 
 BOOST_STATIC_ASSERT (static_cast< int >(TagFlagEncoded)==static_cast< int >(GST_TAG_FLAG_ENCODED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(TagFlagDecoded)==static_cast< int >(GST_TAG_FLAG_DECODED))
 
 BOOST_STATIC_ASSERT (static_cast< int >(TagFlagCount)==static_cast< int >(GST_TAG_FLAG_COUNT))
 
 BOOST_STATIC_ASSERT (static_cast< int >(AppStreamTypeStream)==static_cast< int >(GST_APP_STREAM_TYPE_STREAM))
 
 BOOST_STATIC_ASSERT (static_cast< int >(AppStreamTypeSeekable)==static_cast< int >(GST_APP_STREAM_TYPE_SEEKABLE))
 
 BOOST_STATIC_ASSERT (static_cast< int >(AppStreamTypeRandomAccess)==static_cast< int >(GST_APP_STREAM_TYPE_RANDOM_ACCESS))
 
QGlib::RefCountedObject * Buffer_new (void *instance)
 
QGlib::RefCountedObject * Object_new (void *instance)
 
QGlib::RefCountedObject * UriHandler_new (void *instance)
 
QGlib::RefCountedObject * Caps_new (void *instance)
 
QGlib::RefCountedObject * Element_new (void *instance)
 
void init ()
 
void init (int *argc, char **argv[])
 
void cleanup ()
 
QDebug operator<< (QDebug debug, const Structure &structure)
 
QString getStringTag (GstTagList *list, const gchar *tag, int index)
 
quint32 getUintTag (GstTagList *list, const gchar *tag, int index)
 
double getDoubleTag (GstTagList *list, const gchar *tag, int index)
 
QGst::BufferPtr getBufferTag (GstTagList *list, const gchar *tag, int index)
 
QDebug operator<< (QDebug debug, const TagList &taglist)
 

Detailed Description

Wrappers for GStreamer classes.

This namespace provides wrapper classes for GStreamer objects.

Note
This namespace is contained in the QtGStreamer library.

Typedef Documentation

Helper structure for accessing int ranges.

Definition at line 106 of file structs.h.

Helper structure for accessing qint64 ranges.

Definition at line 111 of file structs.h.

Helper structure for accessing double ranges.

Definition at line 116 of file structs.h.

Helper structure for accessing fraction ranges.

Definition at line 121 of file structs.h.

Function Documentation

void QGst::init ( )

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Note
You need to include <QGst/Init> to use this function.
Examples:
examples/appsink-src/main.cpp, examples/player/main.cpp, examples/qmlplayer/main.cpp, examples/recorder/main.cpp, and examples/voip/main.cpp.

Definition at line 29 of file init.cpp.

void QGst::init ( int *  argc,
char **  argv[] 
)

Initializes the GStreamer library, setting up internal path lists, registering built-in elements, and loading standard plugins.

Note
  • This function also calls QGlib::init(), so there is no need to call it explicitly.
  • You need to include <QGst/Init> to use this function.
Parameters
argcpointer to the application's argc
argvpointer to the application's argv
Exceptions
QGlib::Errorwhen initialization fails

Definition at line 34 of file init.cpp.

void QGst::cleanup ( )

Clean up any resources created by GStreamer in init().

It is normally not needed to call this function in a normal application as the resources will automatically be freed when the program terminates. This function is therefore mostly used by testsuites and other memory profiling tools.

After this call GStreamer (including this method) should not be used anymore.

Note
You need to include <QGst/Init> to use this function.

Definition at line 45 of file init.cpp.