/third_party/gstreamer/gstplugins_base/tests/check/pipelines/ |
D | capsfilter-renegotiation.c | 38 GstCaps *current_caps = NULL; variable 68 if (current_caps == NULL && pad_caps != NULL) { in buffer_probe() 70 current_caps = gst_caps_copy (pad_caps); in buffer_probe() 72 } else if (current_caps != NULL) { in buffer_probe() 75 gst_caps_unref (current_caps); in buffer_probe() 76 current_caps = NULL; in buffer_probe() 79 if (!gst_caps_is_equal (current_caps, pad_caps)) { in buffer_probe() 81 gst_caps_unref (current_caps); in buffer_probe() 82 current_caps = gst_caps_copy (pad_caps); in buffer_probe() 106 if (current_caps) in run_capsfilter_renegotiation() [all …]
|
/third_party/gstreamer/gstplugins_base/gst/adder/ |
D | gstadder.c | 234 GstCaps *result, *peercaps, *current_caps, *filter_caps; in gst_adder_sink_getcaps() local 264 current_caps = in gst_adder_sink_getcaps() 265 adder->current_caps ? gst_caps_ref (adder->current_caps) : NULL; in gst_adder_sink_getcaps() 266 if (current_caps == NULL) { in gst_adder_sink_getcaps() 267 current_caps = gst_pad_get_pad_template_caps (pad); in gst_adder_sink_getcaps() 268 if (!current_caps) in gst_adder_sink_getcaps() 269 current_caps = gst_caps_new_any (); in gst_adder_sink_getcaps() 277 gst_caps_intersect_full (peercaps, current_caps, in gst_adder_sink_getcaps() 280 gst_caps_unref (current_caps); in gst_adder_sink_getcaps() 288 gst_caps_intersect_full (filter_caps, current_caps, in gst_adder_sink_getcaps() [all …]
|
D | gstadder.h | 69 GstCaps *current_caps; member
|
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/ |
D | gstjpeg2000parse.c | 285 GstCaps *current_caps = NULL; in gst_jpeg2000_parse_handle_frame() local 491 current_caps = gst_pad_get_current_caps (GST_BASE_PARSE_SINK_PAD (parse)); in gst_jpeg2000_parse_handle_frame() 492 if (current_caps) { in gst_jpeg2000_parse_handle_frame() 494 current_caps_struct = gst_caps_get_structure (current_caps, 0); in gst_jpeg2000_parse_handle_frame() 645 gst_jpeg2000_parse_negotiate (jpeg2000parse, current_caps); in gst_jpeg2000_parse_handle_frame() 758 if (current_caps) in gst_jpeg2000_parse_handle_frame() 759 gst_caps_unref (current_caps); in gst_jpeg2000_parse_handle_frame() 764 if (current_caps) in gst_jpeg2000_parse_handle_frame() 765 gst_caps_unref (current_caps); in gst_jpeg2000_parse_handle_frame()
|
/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | rtpbin_buffer_list.c | 243 GstCaps *current_caps; in sink_chain_list() local 248 current_caps = gst_pad_get_current_caps (pad); in sink_chain_list() 249 fail_unless (current_caps != NULL); in sink_chain_list() 254 fail_unless (gst_caps_is_equal (caps, current_caps)); in sink_chain_list() 256 gst_caps_unref (current_caps); in sink_chain_list()
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglmixer.c | 471 GstCaps *filter, *current_caps, *retcaps, *template_caps; in gst_gl_mixer_query_caps() local 477 current_caps = gst_pad_get_current_caps (pad); in gst_gl_mixer_query_caps() 478 if (current_caps == NULL) in gst_gl_mixer_query_caps() 481 retcaps = gst_caps_merge (current_caps, template_caps); in gst_gl_mixer_query_caps() 486 current_caps = in gst_gl_mixer_query_caps() 489 retcaps = current_caps; in gst_gl_mixer_query_caps()
|
/third_party/gstreamer/gstplugins_bad/ext/opencv/ |
D | gstdisparity.cpp | 405 GstCaps *current_caps; in gst_disparity_handle_query() local 410 current_caps = gst_pad_get_current_caps (fs->srcpad); in gst_disparity_handle_query() 411 if (current_caps == NULL) { in gst_disparity_handle_query() 416 gst_query_set_caps_result (query, current_caps); in gst_disparity_handle_query() 417 gst_caps_unref (current_caps); in gst_disparity_handle_query()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/app/ |
D | gstappsrc.c | 119 GstCaps *current_caps; member 626 if (priv->current_caps) { in gst_app_src_dispose() 627 gst_caps_unref (priv->current_caps); in gst_app_src_dispose() 628 priv->current_caps = NULL; in gst_app_src_dispose() 671 if ((caps = appsrc->priv->current_caps)) in gst_app_src_internal_get_caps() 1095 caps = priv->current_caps ? gst_caps_ref (priv->current_caps) : NULL; in gst_app_src_do_negotiate() 1191 if (next_caps && priv->current_caps) in gst_app_src_create() 1192 caps_changed = !gst_caps_is_equal (next_caps, priv->current_caps); in gst_app_src_create() 1194 caps_changed = (next_caps != priv->current_caps); in gst_app_src_create() 1196 gst_caps_replace (&priv->current_caps, next_caps); in gst_app_src_create()
|
/third_party/gstreamer/gstplugins_bad/sys/dshowsrcwrapper/ |
D | gstdshowaudiosrc.cpp | 488 GstCaps *current_caps = gst_pad_get_current_caps (GST_BASE_SRC_PAD (asrc)); in gst_dshowaudiosrc_prepare() local 490 if (current_caps) { in gst_dshowaudiosrc_prepare() 491 if (gst_caps_is_equal (spec->caps, current_caps)) { in gst_dshowaudiosrc_prepare() 492 gst_caps_unref (current_caps); in gst_dshowaudiosrc_prepare() 495 gst_caps_unref (current_caps); in gst_dshowaudiosrc_prepare()
|
D | gstdshowvideosrc.cpp | 631 GstCaps *current_caps = gst_pad_get_current_caps (GST_BASE_SRC_PAD (bsrc)); in gst_dshowvideosrc_set_caps() local 633 if (current_caps) { in gst_dshowvideosrc_set_caps() 634 if (gst_caps_is_equal (caps, current_caps)) { in gst_dshowvideosrc_set_caps() 635 gst_caps_unref (current_caps); in gst_dshowvideosrc_set_caps() 638 gst_caps_unref (current_caps); in gst_dshowvideosrc_set_caps()
|
/third_party/gstreamer/gstreamer/plugins/elements/ |
D | gsttypefindelement.c | 967 …GstTypeFindProbability current_probability, GstCaps * current_caps, gboolean at_eos, gboolean have… in gst_type_find_element_need_do_typefind_again() argument 976 g_list_length (typefind->re_typefind_factory_list), current_caps, typefind->pre_find_caps, in gst_type_find_element_need_do_typefind_again() 984 typefind->pre_find_caps = gst_caps_ref (current_caps); in gst_type_find_element_need_do_typefind_again() 997 GstTypeFindProbability *current_probability, GstCaps **current_caps) in gst_type_find_element_update_prebability_and_caps() argument 1000 *current_probability, typefind->pre_prebability, *current_caps, typefind->pre_find_caps); in gst_type_find_element_update_prebability_and_caps() 1002 if (*current_caps != NULL) { in gst_type_find_element_update_prebability_and_caps() 1003 gst_caps_unref (*current_caps); in gst_type_find_element_update_prebability_and_caps() 1005 *current_caps = gst_caps_ref (typefind->pre_find_caps); in gst_type_find_element_update_prebability_and_caps()
|
/third_party/gstreamer/gstplugins_good/gst/videomixer/ |
D | videomixer2.h | 96 GstCaps *current_caps; member
|
D | videomixer2.c | 500 GST_PTR_FORMAT, caps, mix->current_caps); in gst_videomixer2_pad_sink_setcaps() 1236 gst_event_new_caps (mix->current_caps))) { in gst_videomixer2_collected() 1754 if (mix->current_caps == NULL || in gst_videomixer2_src_setcaps() 1755 gst_caps_is_equal (caps, mix->current_caps) == FALSE) { in gst_videomixer2_src_setcaps() 1756 gst_caps_replace (&mix->current_caps, caps); in gst_videomixer2_src_setcaps() 1942 gst_caps_replace (&mix->current_caps, NULL); in gst_videomixer2_change_state() 2111 gst_caps_replace (&mix->current_caps, NULL); in gst_videomixer2_dispose() 2255 mix->current_caps = NULL; in gst_videomixer2_init()
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | gstrtpmux.c | 444 GstCaps *current_caps = gst_pad_get_current_caps (pad); in gst_rtp_mux_chain_list() local 446 if (!gst_rtp_mux_setcaps (pad, rtp_mux, current_caps)) { in gst_rtp_mux_chain_list() 455 gst_caps_unref (current_caps); in gst_rtp_mux_chain_list() 532 GstCaps *current_caps = gst_pad_get_current_caps (pad); in gst_rtp_mux_chain() local 534 if (!gst_rtp_mux_setcaps (pad, rtp_mux, current_caps)) { in gst_rtp_mux_chain() 543 gst_caps_unref (current_caps); in gst_rtp_mux_chain()
|
/third_party/gstreamer/gstplugins_bad/gst/autoconvert/ |
D | gstautoconvert.c | 716 GstCaps *current_caps; in gst_auto_convert_sink_setcaps() local 720 current_caps = gst_pad_get_current_caps (autoconvert->sinkpad); in gst_auto_convert_sink_setcaps() 721 if (current_caps) { in gst_auto_convert_sink_setcaps() 722 if (gst_caps_is_equal_fixed (caps, current_caps)) { in gst_auto_convert_sink_setcaps() 723 gst_caps_unref (current_caps); in gst_auto_convert_sink_setcaps() 726 gst_caps_unref (current_caps); in gst_auto_convert_sink_setcaps()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudioaggregator.h | 182 GstCaps *current_caps; member
|
D | gstaudioaggregator.c | 517 aagg->current_caps = NULL; in gst_audio_aggregator_init() 528 gst_caps_replace (&aagg->current_caps, NULL); in gst_audio_aggregator_dispose() 950 gst_caps_replace (&aagg->current_caps, caps); in gst_audio_aggregator_negotiated_src_caps() 1343 gst_caps_replace (&aagg->current_caps, NULL); in gst_audio_aggregator_reset()
|
/third_party/gstreamer/gstplugins_base/ext/ogg/ |
D | gstogmparse.c | 626 GstCaps *current_caps = gst_pad_get_current_caps (ogm->srcpad); in gst_ogm_parse_stream_header() local 628 if (current_caps) { in gst_ogm_parse_stream_header() 629 if (caps && !gst_caps_is_equal (current_caps, caps)) { in gst_ogm_parse_stream_header() 638 gst_caps_unref (current_caps); in gst_ogm_parse_stream_header()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | gstvideoaggregator.c | 681 GstCaps *current_caps; member 1021 if (vagg->priv->current_caps == NULL || in gst_video_aggregator_default_negotiated_src_caps() 1022 gst_caps_is_equal (caps, vagg->priv->current_caps) == FALSE) { in gst_video_aggregator_default_negotiated_src_caps() 1025 gst_caps_replace (&vagg->priv->current_caps, caps); in gst_video_aggregator_default_negotiated_src_caps() 1097 GST_PTR_FORMAT, caps, vagg->priv->current_caps); in gst_video_aggregator_pad_sink_setcaps() 2148 gst_caps_replace (&vagg->priv->current_caps, NULL); in gst_video_aggregator_start() 2487 gst_caps_replace (&vagg->priv->current_caps, NULL); in gst_video_aggregator_dispose() 2572 vagg->priv->current_caps = NULL; in gst_video_aggregator_init()
|
/third_party/gstreamer/gstplugins_good/gst/audioparsers/ |
D | gstflacparse.c | 1886 GstCaps *current_caps; in gst_flac_parse_set_sink_caps() local 1897 current_caps = gst_pad_get_current_caps (GST_BASE_PARSE_SINK_PAD (parse)); in gst_flac_parse_set_sink_caps() 1898 if (current_caps) { in gst_flac_parse_set_sink_caps() 1899 if (!gst_caps_is_strictly_equal (caps, current_caps)) { in gst_flac_parse_set_sink_caps() 1904 gst_caps_unref (current_caps); in gst_flac_parse_set_sink_caps()
|
/third_party/gstreamer/gstreamer/libs/gst/base/ |
D | gstbasesrc.c | 938 GstCaps *current_caps; in gst_base_src_set_caps() local 944 current_caps = gst_pad_get_current_caps (GST_BASE_SRC_PAD (src)); in gst_base_src_set_caps() 945 if (current_caps && gst_caps_is_equal (current_caps, caps)) { in gst_base_src_set_caps() 957 if (current_caps) in gst_base_src_set_caps() 958 gst_caps_unref (current_caps); in gst_base_src_set_caps()
|
D | gstbasesink.c | 3374 GstCaps *caps, *current_caps; in gst_base_sink_default_event() local 3379 current_caps = gst_pad_get_current_caps (GST_BASE_SINK_PAD (basesink)); in gst_base_sink_default_event() 3381 if (current_caps && gst_caps_is_equal (current_caps, caps)) { in gst_base_sink_default_event() 3394 if (current_caps) in gst_base_sink_default_event() 3395 gst_caps_unref (current_caps); in gst_base_sink_default_event()
|
/third_party/gstreamer/gstplugins_good/gst/deinterlace/ |
D | gstdeinterlace.c | 2704 GstCaps *peercaps, *current_caps; in gst_deinterlace_setcaps() local 2708 if ((current_caps = gst_pad_get_current_caps (pad))) { in gst_deinterlace_setcaps() 2709 if (gst_caps_is_equal (caps, current_caps)) { in gst_deinterlace_setcaps() 2711 gst_caps_unref (current_caps); in gst_deinterlace_setcaps() 2715 gst_caps_unref (current_caps); in gst_deinterlace_setcaps()
|
/third_party/gstreamer/gstplugins_good/gst/isomp4/ |
D | gstqtmux.c | 5248 GstCaps *current_caps; in gst_qt_mux_can_renegotiate() local 5253 current_caps = gst_pad_get_current_caps (pad); in gst_qt_mux_can_renegotiate() 5256 if (!gst_qtmux_caps_is_subset_full (qtmux, current_caps, caps)) { in gst_qt_mux_can_renegotiate() 5257 gst_caps_unref (current_caps); in gst_qt_mux_can_renegotiate() 5267 GST_PTR_FORMAT, GST_PAD_NAME (pad), caps, current_caps); in gst_qt_mux_can_renegotiate() 5269 gst_caps_unref (current_caps); in gst_qt_mux_can_renegotiate()
|
/third_party/gstreamer/gstplugins_good/ |
D | ChangeLog | 46944 videomixer: Set a reference to mix->current_caps as the QUERY_CAPS result. 68751 Don't keep current_caps, core does that for us now.
|