當前位置: 首頁>>代碼示例>>C++>>正文


C++ GST_CALL_PARENT函數代碼示例

本文整理匯總了C++中GST_CALL_PARENT函數的典型用法代碼示例。如果您正苦於以下問題:C++ GST_CALL_PARENT函數的具體用法?C++ GST_CALL_PARENT怎麽用?C++ GST_CALL_PARENT使用的例子?那麽, 這裏精選的函數代碼示例或許可以為您提供幫助。


在下文中一共展示了GST_CALL_PARENT函數的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C++代碼示例。

示例1: gst_rtp_sbc_pay_finalize

static void gst_rtp_sbc_pay_finalize(GObject *object)
{
	GstRtpSBCPay *sbcpay = GST_RTP_SBC_PAY(object);
	g_object_unref(sbcpay->adapter);

	GST_CALL_PARENT(G_OBJECT_CLASS, finalize, (object));
}
開發者ID:Bisheg,項目名稱:bluez,代碼行數:7,代碼來源:gstrtpsbcpay.c

示例2: fs_rawudp_constructed

static void
fs_rawudp_constructed (GObject *object)
{
  FsRawUdpComponent *self = FS_RAWUDP_COMPONENT (object);

  if (!self->priv->transmitter)
  {
    self->priv->construction_error = g_error_new (FS_ERROR,
        FS_ERROR_INVALID_ARGUMENTS,
        "You need a transmitter to build this object");
    return;
  }

  self->priv->udpport =
    fs_rawudp_transmitter_get_udpport (self->priv->transmitter,
        self->priv->component,
        self->priv->ip,
        self->priv->port,
        &self->priv->construction_error);
  if (!self->priv->udpport)
  {
    if (!self->priv->construction_error)
      self->priv->construction_error = g_error_new (FS_ERROR, FS_ERROR_INTERNAL,
          "Unkown error when trying to open udp port");
    return;
  }

  if (self->priv->associate_on_source)
    self->priv->buffer_recv_id =
      fs_rawudp_transmitter_udpport_connect_recv (
          self->priv->udpport, buffer_recv_cb, self);

  GST_CALL_PARENT (G_OBJECT_CLASS, constructed, (object));
}
開發者ID:kakaroto,項目名稱:farstream,代碼行數:34,代碼來源:fs-rawudp-component.c

示例3: gst_gconf_video_src_finalize

static void
gst_gconf_video_src_finalize (GstGConfVideoSrc * src)
{
  g_free (src->gconf_str);

  GST_CALL_PARENT (G_OBJECT_CLASS, finalize, ((GObject *) (src)));
}
開發者ID:JJCG,項目名稱:gst-plugins-good,代碼行數:7,代碼來源:gstgconfvideosrc.c

示例4: webKitMediaCommonEncryptionDecryptorFinalize

static void webKitMediaCommonEncryptionDecryptorFinalize(GObject* object)
{
    WebKitMediaCommonEncryptionDecrypt* self = WEBKIT_MEDIA_CENC_DECRYPT(object);
    WebKitMediaCommonEncryptionDecryptPrivate* priv = self->priv;

    priv->~WebKitMediaCommonEncryptionDecryptPrivate();
    GST_CALL_PARENT(G_OBJECT_CLASS, finalize, (object));
}
開發者ID:emutavchi,項目名稱:WebKitForWayland,代碼行數:8,代碼來源:WebKitCommonEncryptionDecryptorGStreamer.cpp

示例5: gst_adapter_dispose

static void
gst_adapter_dispose (GObject * object)
{
    GstAdapter *adapter = GST_ADAPTER (object);

    gst_adapter_clear (adapter);

    GST_CALL_PARENT (G_OBJECT_CLASS, dispose, (object));
}
開發者ID:spunktsch,項目名稱:svtplayer,代碼行數:9,代碼來源:gstadapter.c

示例6: gst_adapter_finalize

static void
gst_adapter_finalize (GObject * object)
{
    GstAdapter *adapter = GST_ADAPTER (object);

    g_free (adapter->assembled_data);

    GST_CALL_PARENT (G_OBJECT_CLASS, finalize, (object));
}
開發者ID:spunktsch,項目名稱:svtplayer,代碼行數:9,代碼來源:gstadapter.c

示例7: gst_visual_finalize

static void
gst_visual_finalize (GObject * object)
{
  GstVisual *visual = GST_VISUAL (object);

  gst_visual_clear_actors (visual);

  GST_CALL_PARENT (G_OBJECT_CLASS, finalize, (object));
}
開發者ID:ConfusedReality,項目名稱:pkg_multimedia_gst-plugins-base,代碼行數:9,代碼來源:visual.c

示例8: gst_ssa_parse_dispose

static void
gst_ssa_parse_dispose (GObject * object)
{
  GstSsaParse *parse = GST_SSA_PARSE (object);

  g_free (parse->ini);
  parse->ini = NULL;

  GST_CALL_PARENT (G_OBJECT_CLASS, dispose, (object));
}
開發者ID:lubing521,項目名稱:gst-embedded-builder,代碼行數:10,代碼來源:gstssaparse.c

示例9: gst_gdp_pay_finalize

static void
gst_gdp_pay_finalize (GObject * gobject)
{
  GstGDPPay *this = GST_GDP_PAY (gobject);

  gst_gdp_pay_reset (this);
  gst_dp_packetizer_free (this->packetizer);

  GST_CALL_PARENT (G_OBJECT_CLASS, finalize, (gobject));
}
開發者ID:adenexter,項目名稱:gst-plugins-base,代碼行數:10,代碼來源:gstgdppay.c

示例10: gst_sphinx_sink_finalize

static void
gst_sphinx_sink_finalize (GObject * gobject)
{
  GstSphinxSink *sphinxsink = GST_SINK (gobject);

  gst_adapter_clear (sphinxsink->adapter);
  g_object_unref (sphinxsink->adapter);

  GST_CALL_PARENT (G_OBJECT_CLASS, finalize, (gobject));
}
開發者ID:BackupTheBerlios,項目名稱:festlang-svn,代碼行數:10,代碼來源:gstsphinxsink.c

示例11: gst_gsettings_audio_src_finalize

static void
gst_gsettings_audio_src_finalize (GObject * object)
{
  GstGSettingsAudioSrc *src = GST_GSETTINGS_AUDIO_SRC (object);

  g_free (src->gsettings_str);
  g_main_context_unref (src->context);

  GST_CALL_PARENT (G_OBJECT_CLASS, finalize, ((GObject *) (src)));
}
開發者ID:Distrotech,項目名稱:gst-plugins-bad,代碼行數:10,代碼來源:gstgsettingsaudiosrc.c

示例12: gst_xine_input_dispose

static void
gst_xine_input_dispose (GObject * object)
{
  GstXineInput *xine = GST_XINE_INPUT (object);

  g_free (xine->location);
  xine->location = NULL;

  GST_CALL_PARENT (G_OBJECT_CLASS, dispose, (object));
}
開發者ID:JJCG,項目名稱:gst-plugins-bad,代碼行數:10,代碼來源:xineinput.c

示例13: gst_gsettings_video_sink_finalize

static void
gst_gsettings_video_sink_finalize (GObject * object)
{
  GstGSettingsVideoSink *sink = GST_GSETTINGS_VIDEO_SINK (object);

  g_free (sink->gsettings_str);
  g_main_context_unref (sink->context);

  GST_CALL_PARENT (G_OBJECT_CLASS, finalize, ((GObject *) (sink)));
}
開發者ID:drothlis,項目名稱:gst-plugins-bad,代碼行數:10,代碼來源:gstgsettingsvideosink.c

示例14: mpegts_pmt_stream_info_finalize

static void
mpegts_pmt_stream_info_finalize (GObject * object)
{
  MpegTsPmtStreamInfo *info = MPEGTS_PMT_STREAM_INFO (object);

  g_value_array_free (info->languages);
  g_value_array_free (info->descriptors);

  GST_CALL_PARENT (G_OBJECT_CLASS, finalize, (object));
}
開發者ID:kanongil,項目名稱:gst-plugins-bad,代碼行數:10,代碼來源:flutspmtstreaminfo.c

示例15: gst_rtp_base_audio_payload_finalize

static void
gst_rtp_base_audio_payload_finalize (GObject * object)
{
  GstRTPBaseAudioPayload *payload;

  payload = GST_RTP_BASE_AUDIO_PAYLOAD (object);

  g_object_unref (payload->priv->adapter);

  GST_CALL_PARENT (G_OBJECT_CLASS, finalize, (object));
}
開發者ID:pexip,項目名稱:gst-plugins-base,代碼行數:11,代碼來源:gstrtpbaseaudiopayload.c


注:本文中的GST_CALL_PARENT函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。