/third_party/gstreamer/gstplugins_bad/gst/switchbin/ |
D | gstswitchbin.c | 279 switch_bin->last_caps = NULL; in gst_switch_bin_init() 330 if (switch_bin->last_caps != NULL) in gst_switch_bin_finalize() 331 gst_caps_unref (switch_bin->last_caps); in gst_switch_bin_finalize() 621 if (switch_bin->last_caps != NULL) { in gst_switch_bin_set_num_paths() 624 GST_PTR_FORMAT, (gpointer) (switch_bin->last_caps)); in gst_switch_bin_set_num_paths() 626 switch_bin->last_caps); in gst_switch_bin_set_num_paths() 667 if (ret && (caps != switch_bin->last_caps)) in gst_switch_bin_select_path_for_caps() 668 gst_caps_replace (&(switch_bin->last_caps), caps); in gst_switch_bin_select_path_for_caps()
|
D | gstswitchbin.h | 62 GstCaps *last_caps; member
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/app/ |
D | gstappsink.c | 127 GstCaps *last_caps; member 592 gst_caps_replace (&priv->last_caps, NULL); in gst_app_sink_dispose() 734 gst_caps_replace (&priv->last_caps, NULL); in gst_app_sink_flush_unlocked() 775 gst_caps_replace (&priv->last_caps, NULL); in gst_app_sink_stop() 988 gst_caps_replace (&priv->last_caps, caps); in dequeue_object() 990 gst_sample_set_caps (priv->sample, priv->last_caps); in dequeue_object() 1043 if (G_UNLIKELY (!priv->last_caps && in gst_app_sink_render_common() 1045 priv->last_caps = gst_pad_get_current_caps (GST_BASE_SINK_PAD (psink)); in gst_app_sink_render_common() 1046 gst_sample_set_caps (priv->sample, priv->last_caps); in gst_app_sink_render_common() 1048 priv->last_caps); in gst_app_sink_render_common()
|
D | gstappsrc.c | 148 GstCaps *last_caps; member 806 if (priv->last_caps) { in gst_app_src_dispose() 807 gst_caps_unref (priv->last_caps); in gst_app_src_dispose() 808 priv->last_caps = NULL; in gst_app_src_dispose() 1842 if (caps && priv->last_caps) in gst_app_src_set_caps() 1843 caps_changed = !gst_caps_is_equal (caps, priv->last_caps); in gst_app_src_set_caps() 1845 caps_changed = (caps != priv->last_caps); in gst_app_src_set_caps() 1858 gst_caps_replace (&priv->last_caps, new_caps); in gst_app_src_set_caps() 1886 if ((caps = appsrc->priv->last_caps)) in gst_app_src_get_caps()
|
/third_party/gstreamer/gst_libav/ext/libav/ |
D | gstavauddec.h | 45 GstCaps *last_caps; member
|
D | gstavauddec.c | 186 gst_caps_replace (&ffmpegdec->last_caps, NULL); in gst_ffmpegauddec_close() 240 gst_caps_replace (&ffmpegdec->last_caps, NULL); in gst_ffmpegauddec_stop() 306 if (ffmpegdec->last_caps && gst_caps_is_equal (ffmpegdec->last_caps, caps)) { in gst_ffmpegauddec_set_format() 312 gst_caps_replace (&ffmpegdec->last_caps, caps); in gst_ffmpegauddec_set_format()
|
D | gstavviddec.h | 73 GstCaps *last_caps; member
|
D | gstavviddec.c | 424 gst_caps_replace (&ffmpegdec->last_caps, NULL); in gst_ffmpegviddec_close() 513 if (ffmpegdec->last_caps != NULL && in gst_ffmpegviddec_set_format() 514 gst_caps_is_equal (ffmpegdec->last_caps, state->caps)) { in gst_ffmpegviddec_set_format() 546 gst_caps_replace (&ffmpegdec->last_caps, state->caps); in gst_ffmpegviddec_set_format()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/rtp/ |
D | gstrtpbasedepayload.c | 62 GstCaps *last_caps; member 452 if (priv->last_caps) { in gst_rtp_base_depayload_setcaps() 453 if (gst_caps_is_equal (priv->last_caps, caps)) { in gst_rtp_base_depayload_setcaps() 457 gst_caps_unref (priv->last_caps); in gst_rtp_base_depayload_setcaps() 458 priv->last_caps = NULL; in gst_rtp_base_depayload_setcaps() 655 priv->last_caps = gst_caps_ref (caps); in gst_rtp_base_depayload_setcaps() 1563 gst_caps_replace (&priv->last_caps, NULL); in gst_rtp_base_depayload_change_state()
|
/third_party/gstreamer/gstplugins_base/sys/ximage/ |
D | ximagesink.h | 115 GstCaps *last_caps; member
|
D | ximagesink.c | 1028 if (xcontext->last_caps) in gst_x_image_sink_xcontext_clear() 1029 gst_caps_replace (&xcontext->last_caps, NULL); in gst_x_image_sink_xcontext_clear()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | videocrop.c | 169 GstCaps *last_caps; member 180 gst_caps_replace (&ctx->last_caps, caps); in handoff_cb() 227 ctx->last_caps = NULL; in videocrop_test_cropping_init_context_full() 246 gst_caps_replace (&ctx->last_caps, NULL); in videocrop_test_cropping_deinit_context() 275 func (ctx->last_buf, ctx->last_caps); in videocrop_test_cropping()
|
/third_party/gstreamer/gstplugins_base/sys/xvimage/ |
D | xvcontext.h | 172 GstCaps *last_caps; member
|
D | xvcontext.c | 604 if (context->last_caps) in gst_xvcontext_free() 605 gst_caps_unref (context->last_caps); in gst_xvcontext_free()
|
/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstbasesink.c | 235 GstCaps *last_caps; member 1067 gst_sample_new (first_buffer, sink->priv->last_caps, &sink->segment, in gst_base_sink_get_last_sample() 1072 sink->priv->last_caps, &sink->segment, NULL); in gst_base_sink_get_last_sample() 1093 gst_caps_replace (&sink->priv->last_caps, sink->priv->caps); in gst_base_sink_set_last_buffer_unlocked() 1095 gst_caps_replace (&sink->priv->last_caps, NULL); in gst_base_sink_set_last_buffer_unlocked()
|
/third_party/gstreamer/gstplugins_base/ |
D | ChangeLog | 100 if (G_UNLIKELY (!priv->last_caps && 102 priv->last_caps = gst_pad_get_current_caps (GST_BASE_SINK_PAD (psink)); 103 gst_sample_set_caps (priv->sample, priv->last_caps); 105 priv->last_caps); 107 This code assumes `priv->last_caps` is reset when a flush is received,
|