QtGStreamer  0.10.2
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
gen.cpp
00001 // Autogenerated by the QtGStreamer helper code generator - DO NOT EDIT
00002 /*
00003     Copyright (C) 2010 George Kiagiadakis <kiagiadakis.george@gmail.com>
00004     Copyright (C) 2010 Collabora Ltd.
00005       @author George Kiagiadakis <george.kiagiadakis@collabora.co.uk>
00006 
00007     This library is free software; you can redistribute it and/or modify
00008     it under the terms of the GNU Lesser General Public License as published
00009     by the Free Software Foundation; either version 2.1 of the License, or
00010     (at your option) any later version.
00011 
00012     This program is distributed in the hope that it will be useful,
00013     but WITHOUT ANY WARRANTY; without even the implied warranty of
00014     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015     GNU Lesser General Public License for more details.
00016 
00017     You should have received a copy of the GNU Lesser General Public License
00018     along with this program.  If not, see <http://www.gnu.org/licenses/>.
00019 */
00020 
00021 #define INCLUDED_FROM_CODEGEN
00022 #include <boost/static_assert.hpp>
00023 
00024 #define REGISTER_TYPE_IMPLEMENTATION(T, GTYPE) \
00025     namespace QGlib { \
00026         GetTypeImpl<T>::operator Type() { return (GTYPE); } \
00027     }
00028 
00029 #include <gst/gst.h>
00030 #include <gst/interfaces/interfaces-enumtypes.h>
00031 #include <gst/interfaces/xoverlay.h>
00032 #include <gst/interfaces/streamvolume.h>
00033 #include <gst/interfaces/colorbalance.h>
00034 #include <gst/interfaces/videoorientation.h>
00035 #include <gst/interfaces/propertyprobe.h>
00036 #include <gst/app/gstappsrc.h>
00037 #include <QGlib/Quark>
00038 #include "QGst/bufferlist.h"
00039 
00040 REGISTER_TYPE_IMPLEMENTATION(QGst::BufferList,GST_TYPE_BUFFER_LIST)
00041 
00042 namespace QGst {
00043   QGlib::RefCountedObject *BufferList_new(void *instance)
00044   {
00045     QGst::BufferList *cppClass = new QGst::BufferList;
00046     cppClass->m_object = instance;
00047     return cppClass;
00048   }
00049 } //namespace QGst
00050 
00051 #include "QGst/clocktime.h"
00052 
00053 REGISTER_TYPE_IMPLEMENTATION(QGst::ClockTime,GST_TYPE_CLOCK_TIME)
00054 
00055 #include "QGst/init.h"
00056 
00057 #include "QGst/bin.h"
00058 
00059 REGISTER_TYPE_IMPLEMENTATION(QGst::Bin,GST_TYPE_BIN)
00060 
00061 namespace QGst {
00062   QGlib::RefCountedObject *Bin_new(void *instance)
00063   {
00064     QGst::Bin *cppClass = new QGst::Bin;
00065     cppClass->m_object = instance;
00066     return cppClass;
00067   }
00068 } //namespace QGst
00069 
00070 
00071 
00072 #include "QGst/event.h"
00073 
00074 REGISTER_TYPE_IMPLEMENTATION(QGst::Event,GST_TYPE_EVENT)
00075 
00076 namespace QGst {
00077   QGlib::RefCountedObject *Event_new(void *instance)
00078   {
00079     QGst::Event *cppClass = NULL;
00080     switch(GST_EVENT_TYPE(instance)) {
00081     case QGst::EventFlushStart:
00082       cppClass = new QGst::FlushStartEvent;
00083       break;
00084     case QGst::EventFlushStop:
00085       cppClass = new QGst::FlushStopEvent;
00086       break;
00087     case QGst::EventEos:
00088       cppClass = new QGst::EosEvent;
00089       break;
00090     case QGst::EventNewSegment:
00091       cppClass = new QGst::NewSegmentEvent;
00092       break;
00093     case QGst::EventTag:
00094       cppClass = new QGst::TagEvent;
00095       break;
00096     case QGst::EventBufferSize:
00097       cppClass = new QGst::BufferSizeEvent;
00098       break;
00099     case QGst::EventSinkMessage:
00100       cppClass = new QGst::SinkMessageEvent;
00101       break;
00102     case QGst::EventQos:
00103       cppClass = new QGst::QosEvent;
00104       break;
00105     case QGst::EventSeek:
00106       cppClass = new QGst::SeekEvent;
00107       break;
00108     case QGst::EventNavigation:
00109       cppClass = new QGst::NavigationEvent;
00110       break;
00111     case QGst::EventLatency:
00112       cppClass = new QGst::LatencyEvent;
00113       break;
00114     case QGst::EventStep:
00115       cppClass = new QGst::StepEvent;
00116       break;
00117     default:
00118       cppClass = new QGst::Event;
00119       break;
00120     }
00121     cppClass->m_object = instance;
00122     return cppClass;
00123   }
00124 } //namespace QGst
00125 
00126 #include "QGst/ghostpad.h"
00127 
00128 REGISTER_TYPE_IMPLEMENTATION(QGst::GhostPad,GST_TYPE_GHOST_PAD)
00129 
00130 namespace QGst {
00131   QGlib::RefCountedObject *GhostPad_new(void *instance)
00132   {
00133     QGst::GhostPad *cppClass = new QGst::GhostPad;
00134     cppClass->m_object = instance;
00135     return cppClass;
00136   }
00137 } //namespace QGst
00138 
00139 #include "QGst/pipeline.h"
00140 
00141 REGISTER_TYPE_IMPLEMENTATION(QGst::Pipeline,GST_TYPE_PIPELINE)
00142 
00143 namespace QGst {
00144   QGlib::RefCountedObject *Pipeline_new(void *instance)
00145   {
00146     QGst::Pipeline *cppClass = new QGst::Pipeline;
00147     cppClass->m_object = instance;
00148     return cppClass;
00149   }
00150 } //namespace QGst
00151 
00152 #include "QGst/childproxy.h"
00153 
00154 REGISTER_TYPE_IMPLEMENTATION(QGst::ChildProxy,GST_TYPE_CHILD_PROXY)
00155 
00156 namespace QGst {
00157   QGlib::RefCountedObject *ChildProxy_new(void *instance)
00158   {
00159     QGst::ChildProxy *cppClass = new QGst::ChildProxy;
00160     cppClass->m_object = instance;
00161     return cppClass;
00162   }
00163 } //namespace QGst
00164 
00165 #include "QGst/pluginfeature.h"
00166 
00167 REGISTER_TYPE_IMPLEMENTATION(QGst::PluginFeature,GST_TYPE_PLUGIN_FEATURE)
00168 
00169 namespace QGst {
00170   QGlib::RefCountedObject *PluginFeature_new(void *instance)
00171   {
00172     QGst::PluginFeature *cppClass = new QGst::PluginFeature;
00173     cppClass->m_object = instance;
00174     return cppClass;
00175   }
00176 } //namespace QGst
00177 
00178 #include "QGst/bus.h"
00179 
00180 REGISTER_TYPE_IMPLEMENTATION(QGst::Bus,GST_TYPE_BUS)
00181 
00182 namespace QGst {
00183   QGlib::RefCountedObject *Bus_new(void *instance)
00184   {
00185     QGst::Bus *cppClass = new QGst::Bus;
00186     cppClass->m_object = instance;
00187     return cppClass;
00188   }
00189 } //namespace QGst
00190 
00191 #include "QGst/structure.h"
00192 
00193 REGISTER_TYPE_IMPLEMENTATION(QGst::Structure,GST_TYPE_STRUCTURE)
00194 
00195 #include "QGst/message.h"
00196 
00197 REGISTER_TYPE_IMPLEMENTATION(QGst::Message,GST_TYPE_MESSAGE)
00198 
00199 namespace QGst {
00200   QGlib::RefCountedObject *Message_new(void *instance)
00201   {
00202     QGst::Message *cppClass = NULL;
00203     switch(GST_MESSAGE_TYPE(instance)) {
00204     case QGst::MessageEos:
00205       cppClass = new QGst::EosMessage;
00206       break;
00207     case QGst::MessageError:
00208       cppClass = new QGst::ErrorMessage;
00209       break;
00210     case QGst::MessageWarning:
00211       cppClass = new QGst::WarningMessage;
00212       break;
00213     case QGst::MessageInfo:
00214       cppClass = new QGst::InfoMessage;
00215       break;
00216     case QGst::MessageTag:
00217       cppClass = new QGst::TagMessage;
00218       break;
00219     case QGst::MessageBuffering:
00220       cppClass = new QGst::BufferingMessage;
00221       break;
00222     case QGst::MessageStateChanged:
00223       cppClass = new QGst::StateChangedMessage;
00224       break;
00225     case QGst::MessageStepDone:
00226       cppClass = new QGst::StepDoneMessage;
00227       break;
00228     case QGst::MessageStreamStatus:
00229       cppClass = new QGst::StreamStatusMessage;
00230       break;
00231     case QGst::MessageApplication:
00232       cppClass = new QGst::ApplicationMessage;
00233       break;
00234     case QGst::MessageElement:
00235       cppClass = new QGst::ElementMessage;
00236       break;
00237     case QGst::MessageSegmentDone:
00238       cppClass = new QGst::SegmentDoneMessage;
00239       break;
00240     case QGst::MessageDuration:
00241       cppClass = new QGst::DurationMessage;
00242       break;
00243     case QGst::MessageLatency:
00244       cppClass = new QGst::LatencyMessage;
00245       break;
00246     case QGst::MessageAsyncDone:
00247       cppClass = new QGst::AsyncDoneMessage;
00248       break;
00249     case QGst::MessageRequestState:
00250       cppClass = new QGst::RequestStateMessage;
00251       break;
00252     case QGst::MessageStepStart:
00253       cppClass = new QGst::StepStartMessage;
00254       break;
00255     case QGst::MessageQos:
00256       cppClass = new QGst::QosMessage;
00257       break;
00258     default:
00259       cppClass = new QGst::Message;
00260       break;
00261     }
00262     cppClass->m_object = instance;
00263     return cppClass;
00264   }
00265 } //namespace QGst
00266 
00267 #include "QGst/videoorientation.h"
00268 
00269 REGISTER_TYPE_IMPLEMENTATION(QGst::VideoOrientation,GST_TYPE_VIDEO_ORIENTATION)
00270 
00271 namespace QGst {
00272   QGlib::RefCountedObject *VideoOrientation_new(void *instance)
00273   {
00274     QGst::VideoOrientation *cppClass = new QGst::VideoOrientation;
00275     cppClass->m_object = instance;
00276     return cppClass;
00277   }
00278 } //namespace QGst
00279 
00280 #include "QGst/elementfactory.h"
00281 
00282 REGISTER_TYPE_IMPLEMENTATION(QGst::ElementFactory,GST_TYPE_ELEMENT_FACTORY)
00283 
00284 namespace QGst {
00285   QGlib::RefCountedObject *ElementFactory_new(void *instance)
00286   {
00287     QGst::ElementFactory *cppClass = new QGst::ElementFactory;
00288     cppClass->m_object = instance;
00289     return cppClass;
00290   }
00291 } //namespace QGst
00292 
00293 #include "QGst/clock.h"
00294 
00295 REGISTER_TYPE_IMPLEMENTATION(QGst::Clock,GST_TYPE_CLOCK)
00296 
00297 namespace QGst {
00298   QGlib::RefCountedObject *Clock_new(void *instance)
00299   {
00300     QGst::Clock *cppClass = new QGst::Clock;
00301     cppClass->m_object = instance;
00302     return cppClass;
00303   }
00304 } //namespace QGst
00305 
00306 #include "QGst/streamvolume.h"
00307 
00308 REGISTER_TYPE_IMPLEMENTATION(QGst::StreamVolume,GST_TYPE_STREAM_VOLUME)
00309 
00310 namespace QGst {
00311   QGlib::RefCountedObject *StreamVolume_new(void *instance)
00312   {
00313     QGst::StreamVolume *cppClass = new QGst::StreamVolume;
00314     cppClass->m_object = instance;
00315     return cppClass;
00316   }
00317 } //namespace QGst
00318 
00319 #include "QGst/query.h"
00320 
00321 REGISTER_TYPE_IMPLEMENTATION(QGst::Query,GST_TYPE_QUERY)
00322 
00323 namespace QGst {
00324   QGlib::RefCountedObject *Query_new(void *instance)
00325   {
00326     QGst::Query *cppClass = NULL;
00327     switch(GST_QUERY_TYPE(instance)) {
00328     case QGst::QueryPosition:
00329       cppClass = new QGst::PositionQuery;
00330       break;
00331     case QGst::QueryDuration:
00332       cppClass = new QGst::DurationQuery;
00333       break;
00334     case QGst::QueryLatency:
00335       cppClass = new QGst::LatencyQuery;
00336       break;
00337     case QGst::QuerySeeking:
00338       cppClass = new QGst::SeekingQuery;
00339       break;
00340     case QGst::QuerySegment:
00341       cppClass = new QGst::SegmentQuery;
00342       break;
00343     case QGst::QueryConvert:
00344       cppClass = new QGst::ConvertQuery;
00345       break;
00346     case QGst::QueryFormats:
00347       cppClass = new QGst::FormatsQuery;
00348       break;
00349     case QGst::QueryBuffering:
00350       cppClass = new QGst::BufferingQuery;
00351       break;
00352     case QGst::QueryUri:
00353       cppClass = new QGst::UriQuery;
00354       break;
00355     default:
00356       cppClass = new QGst::Query;
00357       break;
00358     }
00359     cppClass->m_object = instance;
00360     return cppClass;
00361   }
00362 } //namespace QGst
00363 
00364 #include "QGst/propertyprobe.h"
00365 
00366 REGISTER_TYPE_IMPLEMENTATION(QGst::PropertyProbe,GST_TYPE_PROPERTY_PROBE)
00367 
00368 namespace QGst {
00369   QGlib::RefCountedObject *PropertyProbe_new(void *instance)
00370   {
00371     QGst::PropertyProbe *cppClass = new QGst::PropertyProbe;
00372     cppClass->m_object = instance;
00373     return cppClass;
00374   }
00375 } //namespace QGst
00376 
00377 #include "QGst/miniobject.h"
00378 
00379 REGISTER_TYPE_IMPLEMENTATION(QGst::MiniObject,GST_TYPE_MINI_OBJECT)
00380 
00381 namespace QGst {
00382   QGlib::RefCountedObject *MiniObject_new(void *instance)
00383   {
00384     QGst::MiniObject *cppClass = new QGst::MiniObject;
00385     cppClass->m_object = instance;
00386     return cppClass;
00387   }
00388 } //namespace QGst
00389 
00390 #include "QGst/xoverlay.h"
00391 
00392 REGISTER_TYPE_IMPLEMENTATION(QGst::XOverlay,GST_TYPE_X_OVERLAY)
00393 
00394 namespace QGst {
00395   QGlib::RefCountedObject *XOverlay_new(void *instance)
00396   {
00397     QGst::XOverlay *cppClass = new QGst::XOverlay;
00398     cppClass->m_object = instance;
00399     return cppClass;
00400   }
00401 } //namespace QGst
00402 
00403 #include "QGst/colorbalance.h"
00404 
00405 REGISTER_TYPE_IMPLEMENTATION(QGst::ColorBalanceChannel,GST_TYPE_COLOR_BALANCE_CHANNEL)
00406 
00407 REGISTER_TYPE_IMPLEMENTATION(QGst::ColorBalance,GST_TYPE_COLOR_BALANCE)
00408 
00409 namespace QGst {
00410   QGlib::RefCountedObject *ColorBalanceChannel_new(void *instance)
00411   {
00412     QGst::ColorBalanceChannel *cppClass = new QGst::ColorBalanceChannel;
00413     cppClass->m_object = instance;
00414     return cppClass;
00415   }
00416 } //namespace QGst
00417 
00418 namespace QGst {
00419   QGlib::RefCountedObject *ColorBalance_new(void *instance)
00420   {
00421     QGst::ColorBalance *cppClass = new QGst::ColorBalance;
00422     cppClass->m_object = instance;
00423     return cppClass;
00424   }
00425 } //namespace QGst
00426 
00427 #include "QGst/taglist.h"
00428 
00429 REGISTER_TYPE_IMPLEMENTATION(QGst::TagList,GST_TYPE_TAG_LIST)
00430 
00431 #include "QGst/pad.h"
00432 
00433 REGISTER_TYPE_IMPLEMENTATION(QGst::Pad,GST_TYPE_PAD)
00434 
00435 namespace QGst {
00436   QGlib::RefCountedObject *Pad_new(void *instance)
00437   {
00438     QGst::Pad *cppClass = new QGst::Pad;
00439     cppClass->m_object = instance;
00440     return cppClass;
00441   }
00442 } //namespace QGst
00443 
00444 #include "QGst/enums.h"
00445 
00446 REGISTER_TYPE_IMPLEMENTATION(QGst::MiniObjectFlags,GST_TYPE_MINI_OBJECT_FLAGS)
00447 
00448 REGISTER_TYPE_IMPLEMENTATION(QGst::ObjectFlags,GST_TYPE_OBJECT_FLAGS)
00449 
00450 REGISTER_TYPE_IMPLEMENTATION(QGst::State,GST_TYPE_STATE)
00451 
00452 REGISTER_TYPE_IMPLEMENTATION(QGst::StateChange,GST_TYPE_STATE_CHANGE)
00453 
00454 REGISTER_TYPE_IMPLEMENTATION(QGst::StateChangeReturn,GST_TYPE_STATE_CHANGE_RETURN)
00455 
00456 REGISTER_TYPE_IMPLEMENTATION(QGst::PadDirection,GST_TYPE_PAD_DIRECTION)
00457 
00458 REGISTER_TYPE_IMPLEMENTATION(QGst::PadFlags,GST_TYPE_PAD_FLAGS)
00459 
00460 REGISTER_TYPE_IMPLEMENTATION(QGst::PadLinkReturn,GST_TYPE_PAD_LINK_RETURN)
00461 
00462 REGISTER_TYPE_IMPLEMENTATION(QGst::FlowReturn,GST_TYPE_FLOW_RETURN)
00463 
00464 REGISTER_TYPE_IMPLEMENTATION(QGst::ActivateMode,GST_TYPE_ACTIVATE_MODE)
00465 
00466 REGISTER_TYPE_IMPLEMENTATION(QGst::Rank,GST_TYPE_RANK)
00467 
00468 REGISTER_TYPE_IMPLEMENTATION(QGst::MessageType,GST_TYPE_MESSAGE_TYPE)
00469 
00470 REGISTER_TYPE_IMPLEMENTATION(QGst::ParseError,GST_TYPE_PARSE_ERROR)
00471 
00472 REGISTER_TYPE_IMPLEMENTATION(QGst::UriType,GST_TYPE_URI_TYPE)
00473 
00474 REGISTER_TYPE_IMPLEMENTATION(QGst::BufferingMode,GST_TYPE_BUFFERING_MODE)
00475 
00476 REGISTER_TYPE_IMPLEMENTATION(QGst::Format,GST_TYPE_FORMAT)
00477 
00478 REGISTER_TYPE_IMPLEMENTATION(QGst::StreamStatusType,GST_TYPE_STREAM_STATUS_TYPE)
00479 
00480 REGISTER_TYPE_IMPLEMENTATION(QGst::StreamVolumeFormat,GST_TYPE_STREAM_VOLUME_FORMAT)
00481 
00482 REGISTER_TYPE_IMPLEMENTATION(QGst::ColorBalanceType,GST_TYPE_COLOR_BALANCE_TYPE)
00483 
00484 REGISTER_TYPE_IMPLEMENTATION(QGst::QueryType,GST_TYPE_QUERY_TYPE)
00485 
00486 REGISTER_TYPE_IMPLEMENTATION(QGst::BufferFlags,GST_TYPE_BUFFER_FLAG)
00487 
00488 REGISTER_TYPE_IMPLEMENTATION(QGst::EventTypeFlags,GST_TYPE_EVENT_TYPE_FLAGS)
00489 
00490 REGISTER_TYPE_IMPLEMENTATION(QGst::EventType,GST_TYPE_EVENT_TYPE)
00491 
00492 REGISTER_TYPE_IMPLEMENTATION(QGst::SeekFlags,GST_TYPE_SEEK_FLAGS)
00493 
00494 REGISTER_TYPE_IMPLEMENTATION(QGst::SeekType,GST_TYPE_SEEK_TYPE)
00495 
00496 REGISTER_TYPE_IMPLEMENTATION(QGst::TagMergeMode,GST_TYPE_TAG_MERGE_MODE)
00497 
00498 REGISTER_TYPE_IMPLEMENTATION(QGst::TagFlags,GST_TYPE_TAG_FLAG)
00499 
00500 namespace QGst {
00501     BOOST_STATIC_ASSERT(static_cast<int>(MiniObjectFlagReadonly) == static_cast<int>(GST_MINI_OBJECT_FLAG_READONLY));
00502     BOOST_STATIC_ASSERT(static_cast<int>(MiniObjectFlagLast) == static_cast<int>(GST_MINI_OBJECT_FLAG_LAST));
00503 }
00504 
00505 namespace QGst {
00506     BOOST_STATIC_ASSERT(static_cast<int>(ObjectDisposing) == static_cast<int>(GST_OBJECT_DISPOSING));
00507     BOOST_STATIC_ASSERT(static_cast<int>(ObjectFloating) == static_cast<int>(GST_OBJECT_FLOATING));
00508     BOOST_STATIC_ASSERT(static_cast<int>(ObjectFlagLast) == static_cast<int>(GST_OBJECT_FLAG_LAST));
00509 }
00510 
00511 namespace QGst {
00512     BOOST_STATIC_ASSERT(static_cast<int>(StateVoidPending) == static_cast<int>(GST_STATE_VOID_PENDING));
00513     BOOST_STATIC_ASSERT(static_cast<int>(StateNull) == static_cast<int>(GST_STATE_NULL));
00514     BOOST_STATIC_ASSERT(static_cast<int>(StateReady) == static_cast<int>(GST_STATE_READY));
00515     BOOST_STATIC_ASSERT(static_cast<int>(StatePaused) == static_cast<int>(GST_STATE_PAUSED));
00516     BOOST_STATIC_ASSERT(static_cast<int>(StatePlaying) == static_cast<int>(GST_STATE_PLAYING));
00517 }
00518 
00519 namespace QGst {
00520     BOOST_STATIC_ASSERT(static_cast<int>(StateChangeNullToReady) == static_cast<int>(GST_STATE_CHANGE_NULL_TO_READY));
00521     BOOST_STATIC_ASSERT(static_cast<int>(StateChangeReadyToPaused) == static_cast<int>(GST_STATE_CHANGE_READY_TO_PAUSED));
00522     BOOST_STATIC_ASSERT(static_cast<int>(StateChangePausedToPlaying) == static_cast<int>(GST_STATE_CHANGE_PAUSED_TO_PLAYING));
00523     BOOST_STATIC_ASSERT(static_cast<int>(StateChangePlayingToPaused) == static_cast<int>(GST_STATE_CHANGE_PLAYING_TO_PAUSED));
00524     BOOST_STATIC_ASSERT(static_cast<int>(StateChangePausedToReady) == static_cast<int>(GST_STATE_CHANGE_PAUSED_TO_READY));
00525     BOOST_STATIC_ASSERT(static_cast<int>(StateChangeReadyToNull) == static_cast<int>(GST_STATE_CHANGE_READY_TO_NULL));
00526 }
00527 
00528 namespace QGst {
00529     BOOST_STATIC_ASSERT(static_cast<int>(StateChangeFailure) == static_cast<int>(GST_STATE_CHANGE_FAILURE));
00530     BOOST_STATIC_ASSERT(static_cast<int>(StateChangeSuccess) == static_cast<int>(GST_STATE_CHANGE_SUCCESS));
00531     BOOST_STATIC_ASSERT(static_cast<int>(StateChangeAsync) == static_cast<int>(GST_STATE_CHANGE_ASYNC));
00532     BOOST_STATIC_ASSERT(static_cast<int>(StateChangeNoPreroll) == static_cast<int>(GST_STATE_CHANGE_NO_PREROLL));
00533 }
00534 
00535 namespace QGst {
00536     BOOST_STATIC_ASSERT(static_cast<int>(PadUnknown) == static_cast<int>(GST_PAD_UNKNOWN));
00537     BOOST_STATIC_ASSERT(static_cast<int>(PadSrc) == static_cast<int>(GST_PAD_SRC));
00538     BOOST_STATIC_ASSERT(static_cast<int>(PadSink) == static_cast<int>(GST_PAD_SINK));
00539 }
00540 
00541 namespace QGst {
00542     BOOST_STATIC_ASSERT(static_cast<int>(PadBlocked) == static_cast<int>(GST_PAD_BLOCKED));
00543     BOOST_STATIC_ASSERT(static_cast<int>(PadFlushing) == static_cast<int>(GST_PAD_FLUSHING));
00544     BOOST_STATIC_ASSERT(static_cast<int>(PadInGetCaps) == static_cast<int>(GST_PAD_IN_GETCAPS));
00545     BOOST_STATIC_ASSERT(static_cast<int>(PadInSetCaps) == static_cast<int>(GST_PAD_IN_SETCAPS));
00546     BOOST_STATIC_ASSERT(static_cast<int>(PadBlocking) == static_cast<int>(GST_PAD_BLOCKING));
00547     BOOST_STATIC_ASSERT(static_cast<int>(PadFlagLast) == static_cast<int>(GST_PAD_FLAG_LAST));
00548 }
00549 
00550 namespace QGst {
00551     BOOST_STATIC_ASSERT(static_cast<int>(PadLinkOk) == static_cast<int>(GST_PAD_LINK_OK));
00552     BOOST_STATIC_ASSERT(static_cast<int>(PadLinkWrongHierarchy) == static_cast<int>(GST_PAD_LINK_WRONG_HIERARCHY));
00553     BOOST_STATIC_ASSERT(static_cast<int>(PadLinkWasLinked) == static_cast<int>(GST_PAD_LINK_WAS_LINKED));
00554     BOOST_STATIC_ASSERT(static_cast<int>(PadLinkWrongDirection) == static_cast<int>(GST_PAD_LINK_WRONG_DIRECTION));
00555     BOOST_STATIC_ASSERT(static_cast<int>(PadLinkNoFormat) == static_cast<int>(GST_PAD_LINK_NOFORMAT));
00556     BOOST_STATIC_ASSERT(static_cast<int>(PadLinkNoSched) == static_cast<int>(GST_PAD_LINK_NOSCHED));
00557     BOOST_STATIC_ASSERT(static_cast<int>(PadLinkRefused) == static_cast<int>(GST_PAD_LINK_REFUSED));
00558 }
00559 
00560 namespace QGst {
00561     BOOST_STATIC_ASSERT(static_cast<int>(FlowCustomSuccess) == static_cast<int>(GST_FLOW_CUSTOM_SUCCESS));
00562     BOOST_STATIC_ASSERT(static_cast<int>(FlowResend) == static_cast<int>(GST_FLOW_RESEND));
00563     BOOST_STATIC_ASSERT(static_cast<int>(FlowOk) == static_cast<int>(GST_FLOW_OK));
00564     BOOST_STATIC_ASSERT(static_cast<int>(FlowNotLinked) == static_cast<int>(GST_FLOW_NOT_LINKED));
00565     BOOST_STATIC_ASSERT(static_cast<int>(FlowWrongState) == static_cast<int>(GST_FLOW_WRONG_STATE));
00566     BOOST_STATIC_ASSERT(static_cast<int>(FlowUnexpected) == static_cast<int>(GST_FLOW_UNEXPECTED));
00567     BOOST_STATIC_ASSERT(static_cast<int>(FlowNotNegotiated) == static_cast<int>(GST_FLOW_NOT_NEGOTIATED));
00568     BOOST_STATIC_ASSERT(static_cast<int>(FlowError) == static_cast<int>(GST_FLOW_ERROR));
00569     BOOST_STATIC_ASSERT(static_cast<int>(FlowNotSupported) == static_cast<int>(GST_FLOW_NOT_SUPPORTED));
00570     BOOST_STATIC_ASSERT(static_cast<int>(FlowCustomError) == static_cast<int>(GST_FLOW_CUSTOM_ERROR));
00571 }
00572 
00573 namespace QGst {
00574     BOOST_STATIC_ASSERT(static_cast<int>(ActivateNone) == static_cast<int>(GST_ACTIVATE_NONE));
00575     BOOST_STATIC_ASSERT(static_cast<int>(ActivatePush) == static_cast<int>(GST_ACTIVATE_PUSH));
00576     BOOST_STATIC_ASSERT(static_cast<int>(ActivatePull) == static_cast<int>(GST_ACTIVATE_PULL));
00577 }
00578 
00579 namespace QGst {
00580     BOOST_STATIC_ASSERT(static_cast<int>(RankNone) == static_cast<int>(GST_RANK_NONE));
00581     BOOST_STATIC_ASSERT(static_cast<int>(RankMarginal) == static_cast<int>(GST_RANK_MARGINAL));
00582     BOOST_STATIC_ASSERT(static_cast<int>(RankSecondary) == static_cast<int>(GST_RANK_SECONDARY));
00583     BOOST_STATIC_ASSERT(static_cast<int>(RankPrimary) == static_cast<int>(GST_RANK_PRIMARY));
00584 }
00585 
00586 namespace QGst {
00587     BOOST_STATIC_ASSERT(static_cast<int>(MessageUnknown) == static_cast<int>(GST_MESSAGE_UNKNOWN));
00588     BOOST_STATIC_ASSERT(static_cast<int>(MessageEos) == static_cast<int>(GST_MESSAGE_EOS));
00589     BOOST_STATIC_ASSERT(static_cast<int>(MessageError) == static_cast<int>(GST_MESSAGE_ERROR));
00590     BOOST_STATIC_ASSERT(static_cast<int>(MessageWarning) == static_cast<int>(GST_MESSAGE_WARNING));
00591     BOOST_STATIC_ASSERT(static_cast<int>(MessageInfo) == static_cast<int>(GST_MESSAGE_INFO));
00592     BOOST_STATIC_ASSERT(static_cast<int>(MessageTag) == static_cast<int>(GST_MESSAGE_TAG));
00593     BOOST_STATIC_ASSERT(static_cast<int>(MessageBuffering) == static_cast<int>(GST_MESSAGE_BUFFERING));
00594     BOOST_STATIC_ASSERT(static_cast<int>(MessageStateChanged) == static_cast<int>(GST_MESSAGE_STATE_CHANGED));
00595     BOOST_STATIC_ASSERT(static_cast<int>(MessageStateDirty) == static_cast<int>(GST_MESSAGE_STATE_DIRTY));
00596     BOOST_STATIC_ASSERT(static_cast<int>(MessageStepDone) == static_cast<int>(GST_MESSAGE_STEP_DONE));
00597     BOOST_STATIC_ASSERT(static_cast<int>(MessageClockProvide) == static_cast<int>(GST_MESSAGE_CLOCK_PROVIDE));
00598     BOOST_STATIC_ASSERT(static_cast<int>(MessageClockLost) == static_cast<int>(GST_MESSAGE_CLOCK_LOST));
00599     BOOST_STATIC_ASSERT(static_cast<int>(MessageNewClock) == static_cast<int>(GST_MESSAGE_NEW_CLOCK));
00600     BOOST_STATIC_ASSERT(static_cast<int>(MessageStructureChange) == static_cast<int>(GST_MESSAGE_STRUCTURE_CHANGE));
00601     BOOST_STATIC_ASSERT(static_cast<int>(MessageStreamStatus) == static_cast<int>(GST_MESSAGE_STREAM_STATUS));
00602     BOOST_STATIC_ASSERT(static_cast<int>(MessageApplication) == static_cast<int>(GST_MESSAGE_APPLICATION));
00603     BOOST_STATIC_ASSERT(static_cast<int>(MessageElement) == static_cast<int>(GST_MESSAGE_ELEMENT));
00604     BOOST_STATIC_ASSERT(static_cast<int>(MessageSegmentStart) == static_cast<int>(GST_MESSAGE_SEGMENT_START));
00605     BOOST_STATIC_ASSERT(static_cast<int>(MessageSegmentDone) == static_cast<int>(GST_MESSAGE_SEGMENT_DONE));
00606     BOOST_STATIC_ASSERT(static_cast<int>(MessageDuration) == static_cast<int>(GST_MESSAGE_DURATION));
00607     BOOST_STATIC_ASSERT(static_cast<int>(MessageLatency) == static_cast<int>(GST_MESSAGE_LATENCY));
00608     BOOST_STATIC_ASSERT(static_cast<int>(MessageAsyncStart) == static_cast<int>(GST_MESSAGE_ASYNC_START));
00609     BOOST_STATIC_ASSERT(static_cast<int>(MessageAsyncDone) == static_cast<int>(GST_MESSAGE_ASYNC_DONE));
00610     BOOST_STATIC_ASSERT(static_cast<int>(MessageRequestState) == static_cast<int>(GST_MESSAGE_REQUEST_STATE));
00611     BOOST_STATIC_ASSERT(static_cast<int>(MessageStepStart) == static_cast<int>(GST_MESSAGE_STEP_START));
00612     BOOST_STATIC_ASSERT(static_cast<int>(MessageQos) == static_cast<int>(GST_MESSAGE_QOS));
00613     BOOST_STATIC_ASSERT(static_cast<int>(MessageAny) == static_cast<int>(GST_MESSAGE_ANY));
00614 }
00615 
00616 namespace QGst {
00617     BOOST_STATIC_ASSERT(static_cast<int>(ParseErrorSyntax) == static_cast<int>(GST_PARSE_ERROR_SYNTAX));
00618     BOOST_STATIC_ASSERT(static_cast<int>(ParseErrorNoSuchElement) == static_cast<int>(GST_PARSE_ERROR_NO_SUCH_ELEMENT));
00619     BOOST_STATIC_ASSERT(static_cast<int>(ParseErrorNoSuchProperty) == static_cast<int>(GST_PARSE_ERROR_NO_SUCH_PROPERTY));
00620     BOOST_STATIC_ASSERT(static_cast<int>(ParseErrorLink) == static_cast<int>(GST_PARSE_ERROR_LINK));
00621     BOOST_STATIC_ASSERT(static_cast<int>(ParseErrorCouldNotSetProperty) == static_cast<int>(GST_PARSE_ERROR_COULD_NOT_SET_PROPERTY));
00622     BOOST_STATIC_ASSERT(static_cast<int>(ParseErrorEmptyBin) == static_cast<int>(GST_PARSE_ERROR_EMPTY_BIN));
00623     BOOST_STATIC_ASSERT(static_cast<int>(ParseErrorEmpty) == static_cast<int>(GST_PARSE_ERROR_EMPTY));
00624 }
00625 
00626 namespace QGst {
00627     BOOST_STATIC_ASSERT(static_cast<int>(UriUnknown) == static_cast<int>(GST_URI_UNKNOWN));
00628     BOOST_STATIC_ASSERT(static_cast<int>(UriSink) == static_cast<int>(GST_URI_SINK));
00629     BOOST_STATIC_ASSERT(static_cast<int>(UriSrc) == static_cast<int>(GST_URI_SRC));
00630 }
00631 
00632 namespace QGst {
00633     BOOST_STATIC_ASSERT(static_cast<int>(BufferingStream) == static_cast<int>(GST_BUFFERING_STREAM));
00634     BOOST_STATIC_ASSERT(static_cast<int>(BufferingDownload) == static_cast<int>(GST_BUFFERING_DOWNLOAD));
00635     BOOST_STATIC_ASSERT(static_cast<int>(BufferingTimeshift) == static_cast<int>(GST_BUFFERING_TIMESHIFT));
00636     BOOST_STATIC_ASSERT(static_cast<int>(BufferingLive) == static_cast<int>(GST_BUFFERING_LIVE));
00637 }
00638 
00639 namespace QGst {
00640     BOOST_STATIC_ASSERT(static_cast<int>(FormatUndefined) == static_cast<int>(GST_FORMAT_UNDEFINED));
00641     BOOST_STATIC_ASSERT(static_cast<int>(FormatDefault) == static_cast<int>(GST_FORMAT_DEFAULT));
00642     BOOST_STATIC_ASSERT(static_cast<int>(FormatBytes) == static_cast<int>(GST_FORMAT_BYTES));
00643     BOOST_STATIC_ASSERT(static_cast<int>(FormatTime) == static_cast<int>(GST_FORMAT_TIME));
00644     BOOST_STATIC_ASSERT(static_cast<int>(FormatBuffers) == static_cast<int>(GST_FORMAT_BUFFERS));
00645     BOOST_STATIC_ASSERT(static_cast<int>(FormatPercent) == static_cast<int>(GST_FORMAT_PERCENT));
00646 }
00647 
00648 namespace QGst {
00649     BOOST_STATIC_ASSERT(static_cast<int>(StreamStatusTypeCreate) == static_cast<int>(GST_STREAM_STATUS_TYPE_CREATE));
00650     BOOST_STATIC_ASSERT(static_cast<int>(StreamStatusTypeEnter) == static_cast<int>(GST_STREAM_STATUS_TYPE_ENTER));
00651     BOOST_STATIC_ASSERT(static_cast<int>(StreamStatusTypeLeave) == static_cast<int>(GST_STREAM_STATUS_TYPE_LEAVE));
00652     BOOST_STATIC_ASSERT(static_cast<int>(StreamStatusTypeDestroy) == static_cast<int>(GST_STREAM_STATUS_TYPE_DESTROY));
00653     BOOST_STATIC_ASSERT(static_cast<int>(StreamStatusTypeStart) == static_cast<int>(GST_STREAM_STATUS_TYPE_START));
00654     BOOST_STATIC_ASSERT(static_cast<int>(StreamStatusTypePause) == static_cast<int>(GST_STREAM_STATUS_TYPE_PAUSE));
00655     BOOST_STATIC_ASSERT(static_cast<int>(StreamStatusTypeStop) == static_cast<int>(GST_STREAM_STATUS_TYPE_STOP));
00656 }
00657 
00658 namespace QGst {
00659     BOOST_STATIC_ASSERT(static_cast<int>(StreamVolumeFormatLinear) == static_cast<int>(GST_STREAM_VOLUME_FORMAT_LINEAR));
00660     BOOST_STATIC_ASSERT(static_cast<int>(StreamVolumeFormatCubic) == static_cast<int>(GST_STREAM_VOLUME_FORMAT_CUBIC));
00661     BOOST_STATIC_ASSERT(static_cast<int>(StreamVolumeFormatDb) == static_cast<int>(GST_STREAM_VOLUME_FORMAT_DB));
00662 }
00663 
00664 namespace QGst {
00665     BOOST_STATIC_ASSERT(static_cast<int>(ColorBalanceHardware) == static_cast<int>(GST_COLOR_BALANCE_HARDWARE));
00666     BOOST_STATIC_ASSERT(static_cast<int>(ColorBalanceSoftware) == static_cast<int>(GST_COLOR_BALANCE_SOFTWARE));
00667 }
00668 
00669 namespace QGst {
00670     BOOST_STATIC_ASSERT(static_cast<int>(QueryNone) == static_cast<int>(GST_QUERY_NONE));
00671     BOOST_STATIC_ASSERT(static_cast<int>(QueryPosition) == static_cast<int>(GST_QUERY_POSITION));
00672     BOOST_STATIC_ASSERT(static_cast<int>(QueryDuration) == static_cast<int>(GST_QUERY_DURATION));
00673     BOOST_STATIC_ASSERT(static_cast<int>(QueryLatency) == static_cast<int>(GST_QUERY_LATENCY));
00674     BOOST_STATIC_ASSERT(static_cast<int>(QueryJitter) == static_cast<int>(GST_QUERY_JITTER));
00675     BOOST_STATIC_ASSERT(static_cast<int>(QueryRate) == static_cast<int>(GST_QUERY_RATE));
00676     BOOST_STATIC_ASSERT(static_cast<int>(QuerySeeking) == static_cast<int>(GST_QUERY_SEEKING));
00677     BOOST_STATIC_ASSERT(static_cast<int>(QuerySegment) == static_cast<int>(GST_QUERY_SEGMENT));
00678     BOOST_STATIC_ASSERT(static_cast<int>(QueryConvert) == static_cast<int>(GST_QUERY_CONVERT));
00679     BOOST_STATIC_ASSERT(static_cast<int>(QueryFormats) == static_cast<int>(GST_QUERY_FORMATS));
00680     BOOST_STATIC_ASSERT(static_cast<int>(QueryBuffering) == static_cast<int>(GST_QUERY_BUFFERING));
00681     BOOST_STATIC_ASSERT(static_cast<int>(QueryCustom) == static_cast<int>(GST_QUERY_CUSTOM));
00682     BOOST_STATIC_ASSERT(static_cast<int>(QueryUri) == static_cast<int>(GST_QUERY_URI));
00683 }
00684 
00685 namespace QGst {
00686     BOOST_STATIC_ASSERT(static_cast<int>(BufferFlagReadOnly) == static_cast<int>(GST_BUFFER_FLAG_READONLY));
00687     BOOST_STATIC_ASSERT(static_cast<int>(BufferFlagPreroll) == static_cast<int>(GST_BUFFER_FLAG_PREROLL));
00688     BOOST_STATIC_ASSERT(static_cast<int>(BufferFlagDiscont) == static_cast<int>(GST_BUFFER_FLAG_DISCONT));
00689     BOOST_STATIC_ASSERT(static_cast<int>(BufferFlagInCaps) == static_cast<int>(GST_BUFFER_FLAG_IN_CAPS));
00690     BOOST_STATIC_ASSERT(static_cast<int>(BufferFlagGap) == static_cast<int>(GST_BUFFER_FLAG_GAP));
00691     BOOST_STATIC_ASSERT(static_cast<int>(BufferFlagDeltaUnit) == static_cast<int>(GST_BUFFER_FLAG_DELTA_UNIT));
00692     BOOST_STATIC_ASSERT(static_cast<int>(BufferFlagMedia1) == static_cast<int>(GST_BUFFER_FLAG_MEDIA1));
00693     BOOST_STATIC_ASSERT(static_cast<int>(BufferFlagMedia2) == static_cast<int>(GST_BUFFER_FLAG_MEDIA2));
00694     BOOST_STATIC_ASSERT(static_cast<int>(BufferFlagMedia3) == static_cast<int>(GST_BUFFER_FLAG_MEDIA3));
00695     BOOST_STATIC_ASSERT(static_cast<int>(BufferFlagLast) == static_cast<int>(GST_BUFFER_FLAG_LAST));
00696 }
00697 
00698 namespace QGst {
00699     BOOST_STATIC_ASSERT(static_cast<int>(EventTypeUpstream) == static_cast<int>(GST_EVENT_TYPE_UPSTREAM));
00700     BOOST_STATIC_ASSERT(static_cast<int>(EventTypeDownstream) == static_cast<int>(GST_EVENT_TYPE_DOWNSTREAM));
00701     BOOST_STATIC_ASSERT(static_cast<int>(EventTypeSerialized) == static_cast<int>(GST_EVENT_TYPE_SERIALIZED));
00702     BOOST_STATIC_ASSERT(static_cast<int>(EventTypeBoth) == static_cast<int>(GST_EVENT_TYPE_BOTH));
00703 }
00704 
00705 namespace QGst {
00706     BOOST_STATIC_ASSERT(static_cast<int>(EventUnknown) == static_cast<int>(GST_EVENT_UNKNOWN));
00707     BOOST_STATIC_ASSERT(static_cast<int>(EventFlushStart) == static_cast<int>(GST_EVENT_FLUSH_START));
00708     BOOST_STATIC_ASSERT(static_cast<int>(EventFlushStop) == static_cast<int>(GST_EVENT_FLUSH_STOP));
00709     BOOST_STATIC_ASSERT(static_cast<int>(EventEos) == static_cast<int>(GST_EVENT_EOS));
00710     BOOST_STATIC_ASSERT(static_cast<int>(EventNewSegment) == static_cast<int>(GST_EVENT_NEWSEGMENT));
00711     BOOST_STATIC_ASSERT(static_cast<int>(EventTag) == static_cast<int>(GST_EVENT_TAG));
00712     BOOST_STATIC_ASSERT(static_cast<int>(EventBufferSize) == static_cast<int>(GST_EVENT_BUFFERSIZE));
00713     BOOST_STATIC_ASSERT(static_cast<int>(EventSinkMessage) == static_cast<int>(GST_EVENT_SINK_MESSAGE));
00714     BOOST_STATIC_ASSERT(static_cast<int>(EventQos) == static_cast<int>(GST_EVENT_QOS));
00715     BOOST_STATIC_ASSERT(static_cast<int>(EventSeek) == static_cast<int>(GST_EVENT_SEEK));
00716     BOOST_STATIC_ASSERT(static_cast<int>(EventNavigation) == static_cast<int>(GST_EVENT_NAVIGATION));
00717     BOOST_STATIC_ASSERT(static_cast<int>(EventLatency) == static_cast<int>(GST_EVENT_LATENCY));
00718     BOOST_STATIC_ASSERT(static_cast<int>(EventStep) == static_cast<int>(GST_EVENT_STEP));
00719     BOOST_STATIC_ASSERT(static_cast<int>(EventCustomUpstream) == static_cast<int>(GST_EVENT_CUSTOM_UPSTREAM));
00720     BOOST_STATIC_ASSERT(static_cast<int>(EventCustomDownstream) == static_cast<int>(GST_EVENT_CUSTOM_DOWNSTREAM));
00721     BOOST_STATIC_ASSERT(static_cast<int>(EventCustomDownstreamOob) == static_cast<int>(GST_EVENT_CUSTOM_DOWNSTREAM_OOB));
00722     BOOST_STATIC_ASSERT(static_cast<int>(EventCustomBoth) == static_cast<int>(GST_EVENT_CUSTOM_BOTH));
00723     BOOST_STATIC_ASSERT(static_cast<int>(EventCustomBothOob) == static_cast<int>(GST_EVENT_CUSTOM_BOTH_OOB));
00724 }
00725 
00726 namespace QGst {
00727     BOOST_STATIC_ASSERT(static_cast<int>(SeekFlagNone) == static_cast<int>(GST_SEEK_FLAG_NONE));
00728     BOOST_STATIC_ASSERT(static_cast<int>(SeekFlagFlush) == static_cast<int>(GST_SEEK_FLAG_FLUSH));
00729     BOOST_STATIC_ASSERT(static_cast<int>(SeekFlagAccurate) == static_cast<int>(GST_SEEK_FLAG_ACCURATE));
00730     BOOST_STATIC_ASSERT(static_cast<int>(SeekFlagKeyUnit) == static_cast<int>(GST_SEEK_FLAG_KEY_UNIT));
00731     BOOST_STATIC_ASSERT(static_cast<int>(SeekFlagSegment) == static_cast<int>(GST_SEEK_FLAG_SEGMENT));
00732     BOOST_STATIC_ASSERT(static_cast<int>(SeekFlagSkip) == static_cast<int>(GST_SEEK_FLAG_SKIP));
00733 }
00734 
00735 namespace QGst {
00736     BOOST_STATIC_ASSERT(static_cast<int>(SeekTypeNone) == static_cast<int>(GST_SEEK_TYPE_NONE));
00737     BOOST_STATIC_ASSERT(static_cast<int>(SeekTypeCur) == static_cast<int>(GST_SEEK_TYPE_CUR));
00738     BOOST_STATIC_ASSERT(static_cast<int>(SeekTypeSet) == static_cast<int>(GST_SEEK_TYPE_SET));
00739     BOOST_STATIC_ASSERT(static_cast<int>(SeekTypeEnd) == static_cast<int>(GST_SEEK_TYPE_END));
00740 }
00741 
00742 namespace QGst {
00743     BOOST_STATIC_ASSERT(static_cast<int>(TagMergeUndefined) == static_cast<int>(GST_TAG_MERGE_UNDEFINED));
00744     BOOST_STATIC_ASSERT(static_cast<int>(TagMergeReplaceAll) == static_cast<int>(GST_TAG_MERGE_REPLACE_ALL));
00745     BOOST_STATIC_ASSERT(static_cast<int>(TagMergeReplace) == static_cast<int>(GST_TAG_MERGE_REPLACE));
00746     BOOST_STATIC_ASSERT(static_cast<int>(TagMergeAppend) == static_cast<int>(GST_TAG_MERGE_APPEND));
00747     BOOST_STATIC_ASSERT(static_cast<int>(TagMergePrepend) == static_cast<int>(GST_TAG_MERGE_PREPEND));
00748     BOOST_STATIC_ASSERT(static_cast<int>(TagMergeKeep) == static_cast<int>(GST_TAG_MERGE_KEEP));
00749     BOOST_STATIC_ASSERT(static_cast<int>(TagMergeKeepAll) == static_cast<int>(GST_TAG_MERGE_KEEP_ALL));
00750     BOOST_STATIC_ASSERT(static_cast<int>(TagMergeCount) == static_cast<int>(GST_TAG_MERGE_COUNT));
00751 }
00752 
00753 namespace QGst {
00754     BOOST_STATIC_ASSERT(static_cast<int>(TagFlagUndefined) == static_cast<int>(GST_TAG_FLAG_UNDEFINED));
00755     BOOST_STATIC_ASSERT(static_cast<int>(TagFlagMeta) == static_cast<int>(GST_TAG_FLAG_META));
00756     BOOST_STATIC_ASSERT(static_cast<int>(TagFlagEncoded) == static_cast<int>(GST_TAG_FLAG_ENCODED));
00757     BOOST_STATIC_ASSERT(static_cast<int>(TagFlagDecoded) == static_cast<int>(GST_TAG_FLAG_DECODED));
00758     BOOST_STATIC_ASSERT(static_cast<int>(TagFlagCount) == static_cast<int>(GST_TAG_FLAG_COUNT));
00759 }
00760 
00761 namespace QGst {
00762     BOOST_STATIC_ASSERT(static_cast<int>(AppStreamTypeStream) == static_cast<int>(GST_APP_STREAM_TYPE_STREAM));
00763     BOOST_STATIC_ASSERT(static_cast<int>(AppStreamTypeSeekable) == static_cast<int>(GST_APP_STREAM_TYPE_SEEKABLE));
00764     BOOST_STATIC_ASSERT(static_cast<int>(AppStreamTypeRandomAccess) == static_cast<int>(GST_APP_STREAM_TYPE_RANDOM_ACCESS));
00765 }
00766 
00767 #include "QGst/buffer.h"
00768 
00769 REGISTER_TYPE_IMPLEMENTATION(QGst::Buffer,GST_TYPE_BUFFER)
00770 
00771 namespace QGst {
00772   QGlib::RefCountedObject *Buffer_new(void *instance)
00773   {
00774     QGst::Buffer *cppClass = new QGst::Buffer;
00775     cppClass->m_object = instance;
00776     return cppClass;
00777   }
00778 } //namespace QGst
00779 
00780 #include "QGst/object.h"
00781 
00782 REGISTER_TYPE_IMPLEMENTATION(QGst::Object,GST_TYPE_OBJECT)
00783 
00784 namespace QGst {
00785   QGlib::RefCountedObject *Object_new(void *instance)
00786   {
00787     QGst::Object *cppClass = new QGst::Object;
00788     cppClass->m_object = instance;
00789     return cppClass;
00790   }
00791 } //namespace QGst
00792 
00793 #include "QGst/urihandler.h"
00794 
00795 REGISTER_TYPE_IMPLEMENTATION(QGst::UriHandler,GST_TYPE_URI_HANDLER)
00796 
00797 namespace QGst {
00798   QGlib::RefCountedObject *UriHandler_new(void *instance)
00799   {
00800     QGst::UriHandler *cppClass = new QGst::UriHandler;
00801     cppClass->m_object = instance;
00802     return cppClass;
00803   }
00804 } //namespace QGst
00805 
00806 #include "QGst/parse.h"
00807 
00808 #include "QGst/caps.h"
00809 
00810 REGISTER_TYPE_IMPLEMENTATION(QGst::Caps,GST_TYPE_CAPS)
00811 
00812 namespace QGst {
00813   QGlib::RefCountedObject *Caps_new(void *instance)
00814   {
00815     QGst::Caps *cppClass = new QGst::Caps;
00816     cppClass->m_object = instance;
00817     return cppClass;
00818   }
00819 } //namespace QGst
00820 
00821 #include "QGst/structs.h"
00822 
00823 REGISTER_TYPE_IMPLEMENTATION(QGst::Fourcc,GST_TYPE_FOURCC)
00824 
00825 REGISTER_TYPE_IMPLEMENTATION(QGst::Fraction,GST_TYPE_FRACTION)
00826 
00827 REGISTER_TYPE_IMPLEMENTATION(QGst::IntRange,GST_TYPE_INT_RANGE)
00828 
00829 REGISTER_TYPE_IMPLEMENTATION(QGst::Int64Range,GST_TYPE_INT64_RANGE)
00830 
00831 REGISTER_TYPE_IMPLEMENTATION(QGst::DoubleRange,GST_TYPE_DOUBLE_RANGE)
00832 
00833 REGISTER_TYPE_IMPLEMENTATION(QGst::FractionRange,GST_TYPE_FRACTION_RANGE)
00834 
00835 #include "QGst/element.h"
00836 
00837 REGISTER_TYPE_IMPLEMENTATION(QGst::Element,GST_TYPE_ELEMENT)
00838 
00839 namespace QGst {
00840   QGlib::RefCountedObject *Element_new(void *instance)
00841   {
00842     QGst::Element *cppClass = new QGst::Element;
00843     cppClass->m_object = instance;
00844     return cppClass;
00845   }
00846 } //namespace QGst
00847 
00848 #include "QGst/objectstore_p.h"
00849 
00850 namespace QGst {
00851 namespace Private {
00852   void registerWrapperConstructors()
00853   {
00854     QGlib::Quark q = g_quark_from_static_string("QGlib__wrapper_constructor");
00855     QGlib::GetType<BufferList>().setQuarkData(q, reinterpret_cast<void*>(&BufferList_new));
00856     QGlib::GetType<Bin>().setQuarkData(q, reinterpret_cast<void*>(&Bin_new));
00857     QGlib::GetType<Event>().setQuarkData(q, reinterpret_cast<void*>(&Event_new));
00858     QGlib::GetType<GhostPad>().setQuarkData(q, reinterpret_cast<void*>(&GhostPad_new));
00859     QGlib::GetType<Pipeline>().setQuarkData(q, reinterpret_cast<void*>(&Pipeline_new));
00860     QGlib::GetType<ChildProxy>().setQuarkData(q, reinterpret_cast<void*>(&ChildProxy_new));
00861     QGlib::GetType<PluginFeature>().setQuarkData(q, reinterpret_cast<void*>(&PluginFeature_new));
00862     QGlib::GetType<Bus>().setQuarkData(q, reinterpret_cast<void*>(&Bus_new));
00863     QGlib::GetType<Message>().setQuarkData(q, reinterpret_cast<void*>(&Message_new));
00864     QGlib::GetType<VideoOrientation>().setQuarkData(q, reinterpret_cast<void*>(&VideoOrientation_new));
00865     QGlib::GetType<ElementFactory>().setQuarkData(q, reinterpret_cast<void*>(&ElementFactory_new));
00866     QGlib::GetType<Clock>().setQuarkData(q, reinterpret_cast<void*>(&Clock_new));
00867     QGlib::GetType<StreamVolume>().setQuarkData(q, reinterpret_cast<void*>(&StreamVolume_new));
00868     QGlib::GetType<Query>().setQuarkData(q, reinterpret_cast<void*>(&Query_new));
00869     QGlib::GetType<PropertyProbe>().setQuarkData(q, reinterpret_cast<void*>(&PropertyProbe_new));
00870     QGlib::GetType<MiniObject>().setQuarkData(q, reinterpret_cast<void*>(&MiniObject_new));
00871     QGlib::GetType<XOverlay>().setQuarkData(q, reinterpret_cast<void*>(&XOverlay_new));
00872     QGlib::GetType<ColorBalanceChannel>().setQuarkData(q, reinterpret_cast<void*>(&ColorBalanceChannel_new));
00873     QGlib::GetType<ColorBalance>().setQuarkData(q, reinterpret_cast<void*>(&ColorBalance_new));
00874     QGlib::GetType<Pad>().setQuarkData(q, reinterpret_cast<void*>(&Pad_new));
00875     QGlib::GetType<Buffer>().setQuarkData(q, reinterpret_cast<void*>(&Buffer_new));
00876     QGlib::GetType<Object>().setQuarkData(q, reinterpret_cast<void*>(&Object_new));
00877     QGlib::GetType<UriHandler>().setQuarkData(q, reinterpret_cast<void*>(&UriHandler_new));
00878     QGlib::GetType<Caps>().setQuarkData(q, reinterpret_cast<void*>(&Caps_new));
00879     QGlib::GetType<Element>().setQuarkData(q, reinterpret_cast<void*>(&Element_new));
00880   }
00881 } //namespace Private
00882 } //namespace QGst
00883