Home
last modified time | relevance | path

Searched refs:basesink (Results 1 – 25 of 27) sorted by relevance

12

/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstbasesink.c404 static void gst_base_sink_default_get_times (GstBaseSink * basesink,
406 static gboolean gst_base_sink_set_flushing (GstBaseSink * basesink,
408 static gboolean gst_base_sink_default_activate_pull (GstBaseSink * basesink,
429 static gboolean gst_base_sink_default_event (GstBaseSink * basesink,
431 static GstFlowReturn gst_base_sink_default_wait_event (GstBaseSink * basesink,
439 static gboolean gst_base_sink_negotiate_pull (GstBaseSink * basesink);
445 static gboolean gst_base_sink_is_too_late (GstBaseSink * basesink,
711 gst_base_sink_init (GstBaseSink * basesink, gpointer g_class) in gst_base_sink_init() argument
716 basesink->priv = priv = gst_base_sink_get_instance_private (basesink); in gst_base_sink_init()
722 basesink->sinkpad = gst_pad_new_from_template (pad_template, "sink"); in gst_base_sink_init()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/curl/
Dgstcurlftpsink.c180 set_ftp_dynamic_options_unlocked (GstCurlBaseSink * basesink) in set_ftp_dynamic_options_unlocked() argument
183 GstCurlFtpSink *sink = GST_CURL_FTP_SINK (basesink); in set_ftp_dynamic_options_unlocked()
207 last_slash = strrchr (basesink->file_name, '/'); in set_ftp_dynamic_options_unlocked()
210 g_strndup (basesink->file_name, last_slash - basesink->file_name); in set_ftp_dynamic_options_unlocked()
215 rename_to = g_strdup_printf ("%s%s", RENAME_TO, basesink->file_name); in set_ftp_dynamic_options_unlocked()
220 tmp = g_strdup_printf ("%s%s", basesink->url, uploadfile_as); in set_ftp_dynamic_options_unlocked()
228 res = curl_easy_setopt (basesink->curl, CURLOPT_URL, tmp); in set_ftp_dynamic_options_unlocked()
231 basesink->error = g_strdup_printf ("failed to set URL: %s", in set_ftp_dynamic_options_unlocked()
237 curl_easy_setopt (basesink->curl, CURLOPT_POSTQUOTE, sink->headerlist); in set_ftp_dynamic_options_unlocked()
239 basesink->error = g_strdup_printf ("failed to set post quote: %s", in set_ftp_dynamic_options_unlocked()
[all …]
Dgstcurlfilesink.c185 set_file_dynamic_options_unlocked (GstCurlBaseSink * basesink) in set_file_dynamic_options_unlocked() argument
187 gchar *tmp = g_strdup_printf ("%s%s", basesink->url, basesink->file_name); in set_file_dynamic_options_unlocked()
190 res = curl_easy_setopt (basesink->curl, CURLOPT_URL, tmp); in set_file_dynamic_options_unlocked()
193 basesink->error = g_strdup_printf ("failed to set URL: %s", in set_file_dynamic_options_unlocked()
202 set_file_options_unlocked (GstCurlBaseSink * basesink) in set_file_options_unlocked() argument
206 res = curl_easy_setopt (basesink->curl, CURLOPT_UPLOAD, 1L); in set_file_options_unlocked()
208 basesink->error = g_strdup_printf ("failed to prepare for upload: %s", in set_file_options_unlocked()
217 gst_curl_file_sink_prepare_transfer (GstCurlBaseSink * basesink) in gst_curl_file_sink_prepare_transfer() argument
219 GstCurlFileSink *sink = GST_CURL_FILE_SINK (basesink); in gst_curl_file_sink_prepare_transfer()
225 gchar *url = g_strdup_printf ("%s%s", basesink->url, basesink->file_name); in gst_curl_file_sink_prepare_transfer()
[all …]
Dgstcurlsftpsink.c145 set_sftp_dynamic_options_unlocked (GstCurlBaseSink * basesink) in set_sftp_dynamic_options_unlocked() argument
147 gchar *tmp = g_strdup_printf ("%s%s", basesink->url, basesink->file_name); in set_sftp_dynamic_options_unlocked()
150 curl_err = curl_easy_setopt (basesink->curl, CURLOPT_URL, tmp); in set_sftp_dynamic_options_unlocked()
153 basesink->error = g_strdup_printf ("failed to set URL: %s", in set_sftp_dynamic_options_unlocked()
162 set_sftp_options_unlocked (GstCurlBaseSink * basesink) in set_sftp_options_unlocked() argument
164 GstCurlSftpSink *sink = GST_CURL_SFTP_SINK (basesink); in set_sftp_options_unlocked()
169 curl_easy_setopt (basesink->curl, CURLOPT_UPLOAD, 1L)) != CURLE_OK) { in set_sftp_options_unlocked()
170 basesink->error = g_strdup_printf ("failed to prepare for upload: %s", in set_sftp_options_unlocked()
176 if ((curl_err = curl_easy_setopt (basesink->curl, in set_sftp_options_unlocked()
178 basesink->error = in set_sftp_options_unlocked()
[all …]
/third_party/gstreamer/gstplugins_good/ext/gdk_pixbuf/
Dgstgdkpixbufsink.c113 static gboolean gst_gdk_pixbuf_sink_start (GstBaseSink * basesink);
114 static gboolean gst_gdk_pixbuf_sink_stop (GstBaseSink * basesink);
115 static gboolean gst_gdk_pixbuf_sink_set_caps (GstBaseSink * basesink,
188 gst_gdk_pixbuf_sink_start (GstBaseSink * basesink) in gst_gdk_pixbuf_sink_start() argument
190 GST_LOG_OBJECT (basesink, "start"); in gst_gdk_pixbuf_sink_start()
196 gst_gdk_pixbuf_sink_stop (GstBaseSink * basesink) in gst_gdk_pixbuf_sink_stop() argument
198 GstGdkPixbufSink *sink = GST_GDK_PIXBUF_SINK (basesink); in gst_gdk_pixbuf_sink_stop()
218 gst_gdk_pixbuf_sink_set_caps (GstBaseSink * basesink, GstCaps * caps) in gst_gdk_pixbuf_sink_set_caps() argument
220 GstGdkPixbufSink *sink = GST_GDK_PIXBUF_SINK (basesink); in gst_gdk_pixbuf_sink_set_caps()
307 gst_gdk_pixbuf_sink_handle_buffer (GstBaseSink * basesink, GstBuffer * buf, in gst_gdk_pixbuf_sink_handle_buffer() argument
[all …]
Dgstgdkpixbufsink.h40 GstVideoSink basesink; member
/third_party/gstreamer/gstplugins_bad/ext/avtp/
Dgstavtpsink.c95 static gboolean gst_avtp_sink_start (GstBaseSink * basesink);
96 static gboolean gst_avtp_sink_stop (GstBaseSink * basesink);
97 static GstFlowReturn gst_avtp_sink_render (GstBaseSink * basesink, GstBuffer *
306 gst_avtp_sink_start (GstBaseSink * basesink) in gst_avtp_sink_start() argument
308 GstAvtpSink *avtpsink = GST_AVTP_SINK (basesink); in gst_avtp_sink_start()
321 gst_avtp_sink_stop (GstBaseSink * basesink) in gst_avtp_sink_stop() argument
323 GstAvtpSink *avtpsink = GST_AVTP_SINK (basesink); in gst_avtp_sink_stop()
338 gst_avtp_sink_adjust_time (GstBaseSink * basesink, GstClockTime time) in gst_avtp_sink_adjust_time() argument
347 time += gst_base_sink_get_latency (basesink); in gst_avtp_sink_adjust_time()
350 ts_offset = gst_base_sink_get_ts_offset (basesink); in gst_avtp_sink_adjust_time()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/bluez/
Dgstavdtpsink.c98 gst_avdtp_sink_stop (GstBaseSink * basesink) in gst_avdtp_sink_stop() argument
100 GstAvdtpSink *self = GST_AVDTP_SINK (basesink); in gst_avdtp_sink_stop()
239 gst_avdtp_sink_event (GstBaseSink * basesink, GstEvent * event) in gst_avdtp_sink_event() argument
241 GstAvdtpSink *self = GST_AVDTP_SINK (basesink); in gst_avdtp_sink_event()
251 return GST_BASE_SINK_CLASS (parent_class)->event (basesink, event); in gst_avdtp_sink_event()
255 gst_avdtp_sink_start (GstBaseSink * basesink) in gst_avdtp_sink_start() argument
257 GstAvdtpSink *self = GST_AVDTP_SINK (basesink); in gst_avdtp_sink_start()
295 gst_avdtp_sink_preroll (GstBaseSink * basesink, GstBuffer * buffer) in gst_avdtp_sink_preroll() argument
297 GstAvdtpSink *sink = GST_AVDTP_SINK (basesink); in gst_avdtp_sink_preroll()
313 gst_avdtp_sink_render (GstBaseSink * basesink, GstBuffer * buffer) in gst_avdtp_sink_render() argument
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiobasesink.c139 static gboolean gst_audio_base_sink_activate_pull (GstBaseSink * basesink,
279 GstBaseSink *basesink = GST_BASE_SINK_CAST (audiobasesink); in gst_audio_base_sink_init() local
298 basesink->can_activate_push = TRUE; in gst_audio_base_sink_init()
299 basesink->can_activate_pull = DEFAULT_CAN_ACTIVATE_PULL; in gst_audio_base_sink_init()
301 gst_base_sink_set_last_sample_enabled (basesink, FALSE); in gst_audio_base_sink_init()
303 GST_OBJECT_FLAG_SET (basesink, GST_ELEMENT_FLAG_PROVIDE_CLOCK); in gst_audio_base_sink_init()
305 GST_OBJECT_FLAG_UNSET (basesink, GST_ELEMENT_FLAG_PROVIDE_CLOCK); in gst_audio_base_sink_init()
383 GstAudioBaseSink *basesink; in gst_audio_base_sink_query_pad() local
385 basesink = GST_AUDIO_BASE_SINK (bsink); in gst_audio_base_sink_query_pad()
393 GST_LOG_OBJECT (basesink, "query convert"); in gst_audio_base_sink_query_pad()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/sndfile/
Dgstsfsink.c399 GstBaseSink *basesink; in gst_sf_sink_loop() local
404 basesink = GST_BASE_SINK (this); in gst_sf_sink_loop()
406 result = gst_pad_pull_range (pad, basesink->offset, in gst_sf_sink_loop()
414 basesink->offset += GST_BUFFER_SIZE (buf); in gst_sf_sink_loop()
416 GST_BASE_SINK_PREROLL_LOCK (basesink); in gst_sf_sink_loop()
417 result = gst_sf_sink_render (basesink, buf); in gst_sf_sink_loop()
418 GST_BASE_SINK_PREROLL_UNLOCK (basesink); in gst_sf_sink_loop()
429 GST_INFO_OBJECT (basesink, "pausing task, reason %s", in gst_sf_sink_loop()
436 GST_ELEMENT_FLOW_ERROR (basesink, result); in gst_sf_sink_loop()
451 gst_sf_sink_activate_pull (GstBaseSink * basesink, gboolean active) in gst_sf_sink_activate_pull() argument
[all …]
/third_party/gstreamer/gstplugins_good/gst/debugutils/
Dtestplugin.c53 GstBaseSink basesink; member
70 static gboolean gst_test_sink_event (GstBaseSink * basesink, GstEvent * event);
71 static GstFlowReturn gst_test_render_buffer (GstBaseSink * basesink,
180 gst_test_sink_event (GstBaseSink * basesink, GstEvent * event) in gst_test_sink_event() argument
182 GstTestClass *klass = GST_TEST_GET_CLASS (basesink); in gst_test_sink_event()
183 GstTest *test = GST_TEST (basesink); in gst_test_sink_event()
226 return GST_BASE_SINK_CLASS (parent_class)->event (basesink, event); in gst_test_sink_event()
230 gst_test_render_buffer (GstBaseSink * basesink, GstBuffer * buf) in gst_test_render_buffer() argument
232 GstTest *test = GST_TEST (basesink); in gst_test_render_buffer()
/third_party/gstreamer/gstplugins_good/ext/shout2/
Dgstshout2.c113 static gboolean gst_shout2send_unlock (GstBaseSink * basesink);
114 static gboolean gst_shout2send_unlock_stop (GstBaseSink * basesink);
117 static gboolean gst_shout2send_start (GstBaseSink * basesink);
118 static gboolean gst_shout2send_stop (GstBaseSink * basesink);
125 static gboolean gst_shout2send_setcaps (GstBaseSink * basesink, GstCaps * caps);
459 gst_shout2send_start (GstBaseSink * basesink) in gst_shout2send_start() argument
461 GstShout2send *sink = GST_SHOUT2SEND (basesink); in gst_shout2send_start()
669 gst_shout2send_stop (GstBaseSink * basesink) argument
671 GstShout2send *sink = GST_SHOUT2SEND (basesink);
692 gst_shout2send_unlock (GstBaseSink * basesink) argument
[all …]
/third_party/gstreamer/gstreamer/plugins/elements/
Dgstfdsink.c129 static gboolean gst_fd_sink_start (GstBaseSink * basesink);
130 static gboolean gst_fd_sink_stop (GstBaseSink * basesink);
131 static gboolean gst_fd_sink_unlock (GstBaseSink * basesink);
132 static gboolean gst_fd_sink_unlock_stop (GstBaseSink * basesink);
362 gst_fd_sink_start (GstBaseSink * basesink) in gst_fd_sink_start() argument
367 fdsink = GST_FD_SINK (basesink); in gst_fd_sink_start()
395 gst_fd_sink_stop (GstBaseSink * basesink) in gst_fd_sink_stop() argument
397 GstFdSink *fdsink = GST_FD_SINK (basesink); in gst_fd_sink_stop()
408 gst_fd_sink_unlock (GstBaseSink * basesink) in gst_fd_sink_unlock() argument
410 GstFdSink *fdsink = GST_FD_SINK (basesink); in gst_fd_sink_unlock()
[all …]
Dgstfilesink.c1022 gst_file_sink_start (GstBaseSink * basesink) in gst_file_sink_start() argument
1026 filesink = GST_FILE_SINK_CAST (basesink); in gst_file_sink_start()
1033 gst_file_sink_stop (GstBaseSink * basesink) in gst_file_sink_stop() argument
1037 filesink = GST_FILE_SINK_CAST (basesink); in gst_file_sink_stop()
1044 gst_file_sink_unlock (GstBaseSink * basesink) in gst_file_sink_unlock() argument
1048 filesink = GST_FILE_SINK_CAST (basesink); in gst_file_sink_unlock()
1055 gst_file_sink_unlock_stop (GstBaseSink * basesink) in gst_file_sink_unlock_stop() argument
1059 filesink = GST_FILE_SINK_CAST (basesink); in gst_file_sink_unlock_stop()
/third_party/gstreamer/gstplugins_good/ext/libcaca/
Dgstcacasink.c78 static GstFlowReturn gst_cacasink_render (GstBaseSink * basesink,
173 gst_cacasink_setcaps (GstBaseSink * basesink, GstCaps * caps) in gst_cacasink_setcaps() argument
179 cacasink = GST_CACASINK (basesink); in gst_cacasink_setcaps()
256 gst_cacasink_render (GstBaseSink * basesink, GstBuffer * buffer) in gst_cacasink_render() argument
258 GstCACASink *cacasink = GST_CACASINK (basesink); in gst_cacasink_render()
/third_party/gstreamer/gstplugins_bad/ext/rtmp/
Dgstrtmpsink.c157 gst_rtmp_sink_start (GstBaseSink * basesink) in gst_rtmp_sink_start() argument
159 GstRTMPSink *sink = GST_RTMP_SINK (basesink); in gst_rtmp_sink_start()
203 gst_rtmp_sink_stop (GstBaseSink * basesink) in gst_rtmp_sink_stop() argument
205 GstRTMPSink *sink = GST_RTMP_SINK (basesink); in gst_rtmp_sink_stop()
/third_party/gstreamer/gstplugins_bad/sys/fbdev/
Dgstfbdevsink.c55 static void gst_fbdevsink_get_times (GstBaseSink * basesink,
97 gst_fbdevsink_get_times (GstBaseSink * basesink, GstBuffer * buffer,
102 fbdevsink = GST_FBDEVSINK (basesink);
/third_party/gstreamer/gstplugins_bad/sys/d3dvideosink/
Dd3dvideosink.c81 static GstCaps *gst_d3dvideosink_get_caps (GstBaseSink * basesink,
257 gst_d3dvideosink_get_caps (GstBaseSink * basesink, GstCaps * filter) in gst_d3dvideosink_get_caps() argument
259 GstD3DVideoSink *sink = GST_D3DVIDEOSINK (basesink); in gst_d3dvideosink_get_caps()
/third_party/gstreamer/gstplugins_bad/ext/openal/
Dgstopenalsink.c74 static GstCaps *gst_openal_sink_getcaps (GstBaseSink * basesink,
574 gst_openal_sink_getcaps (GstBaseSink * basesink, GstCaps * filter) in gst_openal_sink_getcaps() argument
576 GstOpenALSink *sink = GST_OPENAL_SINK (basesink); in gst_openal_sink_getcaps()
580 GstPad *pad = GST_BASE_SINK_PAD (basesink); in gst_openal_sink_getcaps()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/app/
Dgstappsink.h86 GstBaseSink basesink; member
/third_party/gstreamer/gstplugins_good/ext/aalib/
Dgstaasink.c253 gst_aasink_setcaps (GstBaseSink * basesink, GstCaps * caps) in gst_aasink_setcaps() argument
258 aasink = GST_AASINK (basesink); in gst_aasink_setcaps()
/third_party/gstreamer/gstreamer/tests/check/
Dmeson.build59 [ 'libs/basesink.c', not gst_registry ],
/third_party/gstreamer/gstplugins_bad/sys/dshowvideosink/
Ddshowvideosink.cpp393 gst_dshowvideosink_get_caps (GstBaseSink * basesink, GstCaps * filter) in gst_dshowvideosink_get_caps() argument
395 GstDshowVideoSink *sink = GST_DSHOWVIDEOSINK (basesink); in gst_dshowvideosink_get_caps()
/third_party/gstreamer/gstreamer/
DChangeLog545 basesink: Add missing annotations
1323 basesink: Don't swap rstart/rstop when stepping
1325 segment running time, and basesink takes rate into account for
1422 basesink: Post a latency message whenever we're ready to answer the query
5056 basesink: Fix clock synchronization running time in reverse playback
6086 basesink: Improve clarity of latency query maths debug message
6766 basesink: Add support for instant-rate-change events
8102 (gdb) print $gst_element_pad(basesink, "sink")
8315 basesink: Remove leading space from Since maker of gst_base_sink_get_stats()
8321 basesink: Fix syntax for gtk-doc comment of the new stats property
[all …]
/third_party/gstreamer/gstplugins_base/
DChangeLog5389 basesink default.
30018 gl: move basesink properties from glimagesinkbin to glsinkbin
36002 This should fix QoS problems, where basesink believed it was rendering with
54732 If the flush-start is arrived during _eos_wait() in basesink,
54737 of the following state changing from PAUSED to PLAYING in basesink.
62220 Don't call the basesink wait_event implementation until we're sure
80877 update for basesink change
83496 audiobasesink: fix for basesink API change
92936 update for basesink event handler changes
100865 baseaudiosink: use new basesink query vmethod
[all …]

12