Home
last modified time | relevance | path

Searched refs:old_caps (Results 1 – 19 of 19) sorted by relevance

/third_party/gstreamer/gstplugins_bad/gst/camerabin2/
Dgstdigitalzoom.c209 GstCaps *old_caps = NULL; in gst_digital_zoom_sink_event() local
216 g_object_get (self->capsfilter, "caps", &old_caps, NULL); in gst_digital_zoom_sink_event()
225 gst_digital_zoom_update_crop (self, old_caps); in gst_digital_zoom_sink_event()
226 g_object_set (self->capsfilter, "caps", old_caps, NULL); in gst_digital_zoom_sink_event()
229 if (old_caps) in gst_digital_zoom_sink_event()
230 gst_caps_unref (old_caps); in gst_digital_zoom_sink_event()
/third_party/gstreamer/gstreamer/gst/
Dgstcaps.h260 gst_caps_replace (GstCaps **old_caps, GstCaps *new_caps) in gst_caps_replace() argument
262 return gst_mini_object_replace ((GstMiniObject **) old_caps, (GstMiniObject *) new_caps); in gst_caps_replace()
266 gst_caps_take (GstCaps **old_caps, GstCaps *new_caps) in gst_caps_take() argument
268 return gst_mini_object_take ((GstMiniObject **) old_caps, (GstMiniObject *) new_caps); in gst_caps_take()
272 gboolean gst_caps_replace (GstCaps ** old_caps,
276 gboolean gst_caps_take (GstCaps ** old_caps,
Dgstcaps.c2778 gst_caps_replace (GstCaps ** old_caps, GstCaps * new_caps) in gst_caps_replace() argument
2780 return gst_mini_object_replace ((GstMiniObject **) old_caps, in gst_caps_replace()
2798 gst_caps_take (GstCaps ** old_caps, GstCaps * new_caps) in gst_caps_take() argument
2800 return gst_mini_object_take ((GstMiniObject **) old_caps, in gst_caps_take()
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstcapsfilter.c188 GstCaps *old_caps; in gst_capsfilter_set_property() local
199 old_caps = capsfilter->filter_caps; in gst_capsfilter_set_property()
201 if (old_caps && capsfilter->filter_caps_used && in gst_capsfilter_set_property()
205 g_list_prepend (capsfilter->previous_caps, gst_caps_ref (old_caps)); in gst_capsfilter_set_property()
215 gst_caps_unref (old_caps); in gst_capsfilter_set_property()
/third_party/gstreamer/gstplugins_base/gst/tcp/
Dgstsocketsrc.c406 GstCaps *old_caps; in gst_socket_src_set_property() local
415 old_caps = socketsrc->caps; in gst_socket_src_set_property()
419 if (old_caps) in gst_socket_src_set_property()
420 gst_caps_unref (old_caps); in gst_socket_src_set_property()
/third_party/gstreamer/gstplugins_bad/gst/pcapparse/
Dgstpcapparse.c291 GstCaps *new_caps, *old_caps; in gst_pcap_parse_set_property() local
300 old_caps = self->caps; in gst_pcap_parse_set_property()
302 if (old_caps) in gst_pcap_parse_set_property()
303 gst_caps_unref (old_caps); in gst_pcap_parse_set_property()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-mux.c1047 check_new_caps (GstMatroskaTrackVideoContext * videocontext, GstCaps * old_caps, in check_new_caps() argument
1053 old_caps = gst_caps_copy (old_caps); in check_new_caps()
1057 old_s = gst_caps_get_structure (old_caps, 0); in check_new_caps()
1064 ret = gst_caps_is_subset (new_caps, old_caps); in check_new_caps()
1067 gst_caps_unref (old_caps); in check_new_caps()
1096 GstCaps *old_caps; in gst_matroska_mux_video_pad_setcaps() local
1108 if ((old_caps = gst_pad_get_current_caps (pad))) { in gst_matroska_mux_video_pad_setcaps()
1110 && !check_new_caps (videocontext, old_caps, caps)) { in gst_matroska_mux_video_pad_setcaps()
1113 GST_PTR_FORMAT "`\nNew: `%" GST_PTR_FORMAT "`", old_caps, caps)); in gst_matroska_mux_video_pad_setcaps()
1114 gst_caps_unref (old_caps); in gst_matroska_mux_video_pad_setcaps()
[all …]
/third_party/gstreamer/gstplugins_base/ext/opus/
Dgstopusdec.c842 GstCaps *old_caps; in gst_opus_dec_set_format() local
846 if ((old_caps = gst_pad_get_current_caps (GST_AUDIO_DECODER_SINK_PAD (bdec)))) { in gst_opus_dec_set_format()
847 if (gst_caps_is_equal (caps, old_caps)) { in gst_opus_dec_set_format()
848 gst_caps_unref (old_caps); in gst_opus_dec_set_format()
855 gst_caps_unref (old_caps); in gst_opus_dec_set_format()
/third_party/gstreamer/gstplugins_good/gst/flv/
Dgstflvdemux.c737 GstCaps *caps = NULL, *old_caps; in gst_flv_demux_audio_negotiate() local
901 old_caps = gst_pad_get_current_caps (demux->audio_pad); in gst_flv_demux_audio_negotiate()
902 if (!old_caps) { in gst_flv_demux_audio_negotiate()
915 if (!old_caps || !gst_caps_is_equal (old_caps, caps)) in gst_flv_demux_audio_negotiate()
920 if (old_caps) in gst_flv_demux_audio_negotiate()
921 gst_caps_unref (old_caps); in gst_flv_demux_audio_negotiate()
1405 GstCaps *caps = NULL, *old_caps; in gst_flv_demux_video_negotiate() local
1485 old_caps = gst_pad_get_current_caps (demux->video_pad); in gst_flv_demux_video_negotiate()
1486 if (!old_caps) { in gst_flv_demux_video_negotiate()
1500 if (!old_caps || !gst_caps_is_equal (old_caps, caps)) in gst_flv_demux_video_negotiate()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/switchbin/
Dgstswitchbin.c1079 GstCaps *old_caps; in gst_switch_bin_path_set_property() local
1083 old_caps = switch_bin_path->caps; in gst_switch_bin_path_set_property()
1091 if (old_caps != NULL) in gst_switch_bin_path_set_property()
1092 gst_caps_unref (old_caps); in gst_switch_bin_path_set_property()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph264depay.c419 GstCaps *old_caps; in gst_rtp_h264_set_src_caps() local
573 old_caps = gst_pad_get_current_caps (srcpad); in gst_rtp_h264_set_src_caps()
575 if (old_caps == NULL || !gst_caps_is_equal (srccaps, old_caps)) { in gst_rtp_h264_set_src_caps()
579 gst_clear_caps (&old_caps); in gst_rtp_h264_set_src_caps()
Dgstrtph265depay.c392 GstCaps *old_caps; in gst_rtp_h265_set_src_caps() local
600 old_caps = gst_pad_get_current_caps (srcpad); in gst_rtp_h265_set_src_caps()
602 if (old_caps == NULL || !gst_caps_is_equal (srccaps, old_caps)) { in gst_rtp_h265_set_src_caps()
/third_party/gstreamer/gstplugins_bad/gst/rtp/
Dgstrtpsrc.c261 GstCaps *old_caps = self->caps; in gst_rtp_src_set_property() local
269 if (old_caps) in gst_rtp_src_set_property()
270 gst_caps_unref (old_caps); in gst_rtp_src_set_property()
/third_party/gstreamer/gstplugins_base/gst/adder/
Dgstadder.c946 GstCaps *old_caps; in gst_adder_set_property() local
955 old_caps = adder->filter_caps; in gst_adder_set_property()
959 if (old_caps) in gst_adder_set_property()
960 gst_caps_unref (old_caps); in gst_adder_set_property()
/third_party/gstreamer/gstplugins_good/gst/udp/
Dgstudpsrc.c1316 GstCaps *old_caps; in gst_udpsrc_set_property() local
1325 old_caps = udpsrc->caps; in gst_udpsrc_set_property()
1328 if (old_caps) in gst_udpsrc_set_property()
1329 gst_caps_unref (old_caps); in gst_udpsrc_set_property()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstaggregator.c672 GstCaps *old_caps; in gst_aggregator_set_src_caps() local
676 if (caps && (old_caps = gst_pad_get_current_caps (self->srcpad))) { in gst_aggregator_set_src_caps()
677 if (gst_caps_is_equal (caps, old_caps)) { in gst_aggregator_set_src_caps()
680 old_caps); in gst_aggregator_set_src_caps()
681 gst_caps_unref (old_caps); in gst_aggregator_set_src_caps()
685 gst_caps_unref (old_caps); in gst_aggregator_set_src_caps()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dgsttagdemux.c338 GstCaps *old_caps = tagdemux->priv->src_caps; in gst_tag_demux_set_src_caps() local
340 if (old_caps == NULL || !gst_caps_is_equal (new_caps, old_caps)) { in gst_tag_demux_set_src_caps()
/third_party/gstreamer/gstplugins_bad/gst/videoparsers/
Dgsth265parse.c3049 GstCaps *old_caps; in gst_h265_parse_set_caps() local
3056 old_caps = gst_pad_get_current_caps (GST_BASE_PARSE_SINK_PAD (parse)); in gst_h265_parse_set_caps()
3057 if (old_caps) { in gst_h265_parse_set_caps()
3058 if (!gst_caps_is_equal (old_caps, caps)) in gst_h265_parse_set_caps()
3060 gst_caps_unref (old_caps); in gst_h265_parse_set_caps()
Dgsth264parse.c3381 GstCaps *old_caps; in gst_h264_parse_set_caps() local
3388 old_caps = gst_pad_get_current_caps (GST_BASE_PARSE_SINK_PAD (parse)); in gst_h264_parse_set_caps()
3389 if (old_caps) { in gst_h264_parse_set_caps()
3390 if (!gst_caps_is_equal (old_caps, caps)) in gst_h264_parse_set_caps()
3392 gst_caps_unref (old_caps); in gst_h264_parse_set_caps()