Home
last modified time | relevance | path

Searched refs:playbin (Results 1 – 25 of 84) sorted by relevance

1234

/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstplaybin3.c311 static GSequence *avelements_create (GstPlayBin3 * playbin,
337 GstPlayBin3 *playbin; member
531 void (*about_to_finish) (GstPlayBin3 * playbin);
534 GstSample *(*convert_sample) (GstPlayBin3 * playbin, GstCaps * caps);
619 static void gst_play_bin3_deep_element_added (GstBin * playbin,
624 static GstSample *gst_play_bin3_convert_sample (GstPlayBin3 * playbin,
627 static GstStateChangeReturn setup_next_source (GstPlayBin3 * playbin);
629 static void gst_play_bin3_check_group_status (GstPlayBin3 * playbin);
630 static void emit_about_to_finish (GstPlayBin3 * playbin);
631 static void reconfigure_output (GstPlayBin3 * playbin);
[all …]
Dgstplaybin2.c279 static GSequence *avelements_create (GstPlayBin * playbin,
296 GstPlayBin *playbin; member
513 void (*about_to_finish) (GstPlayBin * playbin);
516 void (*video_changed) (GstPlayBin * playbin);
517 void (*audio_changed) (GstPlayBin * playbin);
518 void (*text_changed) (GstPlayBin * playbin);
521 void (*video_tags_changed) (GstPlayBin * playbin, gint stream);
522 void (*audio_tags_changed) (GstPlayBin * playbin, gint stream);
523 void (*text_tags_changed) (GstPlayBin * playbin, gint stream);
526 GstTagList *(*get_video_tags) (GstPlayBin * playbin, gint stream);
[all …]
Dgstplaybackelements.h27 GST_ELEMENT_REGISTER_DECLARE (playbin);
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dplaybin.c39 GstElement *playbin, *fakesink; in GST_START_TEST() local
45 playbin = gst_element_factory_make ("playbin", "playbin"); in GST_START_TEST()
46 fail_unless (playbin != NULL, "Failed to create playbin element"); in GST_START_TEST()
51 g_object_set (playbin, "video-sink", fakesink, NULL); in GST_START_TEST()
53 g_object_set (playbin, "uri", "redvideo://", NULL); in GST_START_TEST()
54 g_object_get (playbin, "uri", &uri, NULL); in GST_START_TEST()
59 g_object_get (playbin, "current-uri", &uri, NULL); in GST_START_TEST()
62 fail_unless_equals_int (gst_element_set_state (playbin, GST_STATE_PAUSED), in GST_START_TEST()
64 fail_unless_equals_int (gst_element_get_state (playbin, NULL, NULL, -1), in GST_START_TEST()
67 g_object_get (playbin, "uri", &uri, NULL); in GST_START_TEST()
[all …]
Dplaybin-complex.c786 GstElement *playbin, *sink; in create_playbin() local
788 playbin = gst_element_factory_make ("playbin", "playbin"); in create_playbin()
789 fail_unless (playbin != NULL, "Failed to create playbin element"); in create_playbin()
799 g_object_set (playbin, "video-sink", sink, NULL); in create_playbin()
808 g_object_set (playbin, "audio-sink", sink, NULL); in create_playbin()
811 g_object_set (playbin, "uri", uri, NULL); in create_playbin()
813 return playbin; in create_playbin()
818 GstElement *playbin; in GST_START_TEST() local
836 playbin = create_playbin (uri, FALSE); in GST_START_TEST()
841 g_object_set (playbin, "audio-sink", asink, NULL); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_good/tests/icles/
Dtest-segment-seeks.c36 GstElement *playbin; in main() local
56 playbin = gst_element_factory_make ("playbin", NULL); in main()
57 g_object_set (playbin, "uri", uri, NULL); in main()
63 playbin = gst_parse_launch ("uridecodebin name=d ! queue ! " in main()
65 src = gst_bin_get_by_name (GST_BIN (playbin), "d"); in main()
71 gst_element_set_state (playbin, GST_STATE_PAUSED); in main()
74 msg = gst_bus_timed_pop_filtered (GST_ELEMENT_BUS (playbin), in main()
82 if (!gst_element_query_duration (playbin, GST_FORMAT_TIME, &dur)) in main()
105 ret = gst_element_seek (playbin, 1.0, GST_FORMAT_TIME, seek_flags, in main()
113 msg = gst_bus_timed_pop_filtered (GST_ELEMENT_BUS (playbin), in main()
[all …]
Dequalizer-test.c114 do_slider_fiddling (GstElement * playbin, GstElement * eq) in do_slider_fiddling() argument
178 GstElement *playbin, *sink, *bin, *eq, *auconv; in main() local
202 playbin = gst_element_factory_make ("playbin", "playbin"); in main()
203 if (playbin == NULL) { in main()
256 g_object_set (playbin, "audio-sink", bin, NULL); in main()
260 g_object_set (playbin, "uri", uri, NULL); in main()
263 pipeline_bus = GST_ELEMENT_BUS (playbin); in main()
265 ret = gst_element_set_state (playbin, GST_STATE_PLAYING); in main()
272 ret = gst_element_get_state (playbin, NULL, NULL, 5 * GST_SECOND); in main()
283 do_slider_fiddling (playbin, eq); in main()
[all …]
/third_party/gstreamer/gstplugins_base/tests/examples/overlay/
Dwin32-videooverlay-playbin.c70 GstElement *playbin = GST_ELEMENT (user_data); in bus_msg() local
80 gst_element_set_state (playbin, GST_STATE_PLAYING); in bus_msg()
134 GstElement *playbin; in main() local
198 playbin = gst_element_factory_make ("playbin", NULL); in main()
200 if (!playbin) { in main()
219 GstVideoOverlay *overlay = GST_VIDEO_OVERLAY (playbin); in main()
227 gst_bus_add_watch (GST_ELEMENT_BUS (playbin), bus_msg, playbin); in main()
228 gst_bus_set_sync_handler (GST_ELEMENT_BUS (playbin), in main()
230 g_object_set (playbin, "uri", uri, NULL); in main()
233 if (gst_element_set_state (playbin, in main()
[all …]
Dmeson.build47 executable('win32-videooverlay-playbin', 'win32-videooverlay-playbin.c',
/third_party/gstreamer/gstplugins_bad/tests/examples/opencv/
Dgsthanddetect_test.c29 GstElement *playbin, *pipeline; variable
55 gst_element_set_state (playbin, GST_STATE_PAUSED); in bus_sync_handler()
84 g_object_set (G_OBJECT (playbin), "volume", (gdouble) (10 - y / 24), NULL); in bus_sync_handler()
87 gst_element_query_duration (playbin, format, &length); in bus_sync_handler()
90 gst_element_set_state (playbin, GST_STATE_PAUSED); in bus_sync_handler()
91 gst_element_seek (GST_ELEMENT (playbin), in bus_sync_handler()
96 gst_element_set_state (GST_ELEMENT (playbin), GST_STATE_PLAYING); in bus_sync_handler()
127 playbin = gst_element_factory_make ("playbin", "app_playbin"); in main()
139 if (!playbin || !pipeline || !v4l2src || !videoscale || !videoconvert_in in main()
144 g_object_set (G_OBJECT (playbin), "uri", uri, NULL); in main()
[all …]
Dgstfacedetect_test.c29 GstElement *playbin, *pipeline; variable
85 gst_element_get_state (GST_ELEMENT (playbin), &state, NULL, in bus_sync_handler()
88 gst_element_set_state (GST_ELEMENT (playbin), GST_STATE_PLAYING); in bus_sync_handler()
107 g_object_get (G_OBJECT (playbin), "volume", &volume, NULL); in bus_sync_handler()
114 g_object_set (G_OBJECT (playbin), "volume", volume, NULL); in bus_sync_handler()
121 g_object_set (G_OBJECT (playbin), "volume", volume, NULL); in bus_sync_handler()
127 gst_element_set_state (playbin, GST_STATE_PAUSED); in bus_sync_handler()
179 playbin = gst_element_factory_make ("playbin", "app_playbin"); in main()
192 if (!playbin || !pipeline || !v4l2src || !videoscale || !videoconvert_in in main()
197 g_object_set (G_OBJECT (playbin), "uri", uri, NULL); in main()
[all …]
/third_party/gstreamer/gstreamer/tests/examples/helloworld/
Dhelloworld.c38 GstElement *playbin; in main() local
51 playbin = gst_element_factory_make ("playbin", NULL); in main()
52 if (!playbin) { in main()
62 g_object_set (playbin, "uri", uri, NULL); in main()
68 bus = gst_element_get_bus (playbin); in main()
73 gst_element_set_state (playbin, GST_STATE_PLAYING); in main()
77 gst_element_set_state (playbin, GST_STATE_NULL); in main()
78 gst_object_unref (playbin); in main()
/third_party/gstreamer/gstplugins_base/tools/
Dgst-play.c88 GstElement *playbin; member
130 static void play_about_to_finish (GstElement * playbin, gpointer user_data);
172 GstElement *sink, *playbin; in play_new() local
177 playbin = gst_element_factory_make ("playbin3", "playbin"); in play_new()
179 playbin = gst_element_factory_make ("playbin", "playbin"); in play_new()
182 if (playbin == NULL) in play_new()
191 play->playbin = playbin; in play_new()
210 g_object_set (play->playbin, "audio-sink", sink, NULL); in play_new()
221 g_object_set (play->playbin, "video-sink", sink, NULL); in play_new()
231 g_object_class_find_property (G_OBJECT_GET_CLASS (playbin), "flags"); in play_new()
[all …]
/third_party/gstreamer/gstplugins_base/tests/examples/app/
Dappsrc-stream.c57 GstElement *playbin; member
120 start_feed (GstElement * playbin, guint size, App * app) in start_feed() argument
131 stop_feed (GstElement * playbin, App * app) in stop_feed() argument
217 app->playbin = gst_element_factory_make ("playbin", NULL); in main()
218 g_assert (app->playbin); in main()
220 bus = gst_pipeline_get_bus (GST_PIPELINE (app->playbin)); in main()
226 g_object_set (app->playbin, "uri", "appsrc://", NULL); in main()
230 g_signal_connect (app->playbin, "deep-notify::source", in main()
234 gst_element_set_state (app->playbin, GST_STATE_PLAYING); in main()
241 gst_element_set_state (app->playbin, GST_STATE_NULL); in main()
Dappsrc-stream2.c61 GstElement *playbin; member
187 app->playbin = gst_element_factory_make ("playbin", NULL); in main()
188 g_assert (app->playbin); in main()
190 bus = gst_pipeline_get_bus (GST_PIPELINE (app->playbin)); in main()
196 g_object_set (app->playbin, "uri", "appsrc://", NULL); in main()
200 g_signal_connect (app->playbin, "deep-notify::source", in main()
204 gst_element_set_state (app->playbin, GST_STATE_PLAYING); in main()
211 gst_element_set_state (app->playbin, GST_STATE_NULL); in main()
Dappsrc-ra.c52 GstElement *playbin; member
193 app->playbin = gst_element_factory_make ("playbin", NULL); in main()
194 g_assert (app->playbin); in main()
196 bus = gst_pipeline_get_bus (GST_PIPELINE (app->playbin)); in main()
202 g_object_set (app->playbin, "uri", "appsrc://", NULL); in main()
206 g_signal_connect (app->playbin, "deep-notify::source", in main()
210 gst_element_set_state (app->playbin, GST_STATE_PLAYING); in main()
217 gst_element_set_state (app->playbin, GST_STATE_NULL); in main()
Dappsrc-seekable.c54 GstElement *playbin; member
197 app->playbin = gst_element_factory_make ("playbin", NULL); in main()
198 g_assert (app->playbin); in main()
200 bus = gst_pipeline_get_bus (GST_PIPELINE (app->playbin)); in main()
206 g_object_set (app->playbin, "uri", "appsrc://", NULL); in main()
210 g_signal_connect (app->playbin, "deep-notify::source", in main()
214 gst_element_set_state (app->playbin, GST_STATE_PLAYING); in main()
221 gst_element_set_state (app->playbin, GST_STATE_NULL); in main()
/third_party/gstreamer/gstplugins_base/tests/icles/
Dplaybin-text.c35 GstElement *playbin; member
138 app->playbin = gst_element_factory_make ("playbin", NULL); in main()
139 g_assert (app->playbin); in main()
151 g_object_set (G_OBJECT (app->playbin), "text-sink", app->textsink, NULL); in main()
153 bus = gst_pipeline_get_bus (GST_PIPELINE (app->playbin)); in main()
159 g_object_set (app->playbin, "uri", argv[1], NULL); in main()
162 g_object_set (app->playbin, "suburi", argv[2], NULL); in main()
165 gst_element_set_state (app->playbin, GST_STATE_PLAYING); in main()
172 gst_element_set_state (app->playbin, GST_STATE_NULL); in main()
Dmeson.build6 [ 'playbin-text.c' ],
7 [ 'stress-playbin.c' ],
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/play/
Dgstplay.c158 GstElement *playbin; member
528 g_object_set (self->playbin, "uri", self->uri, NULL); in gst_play_set_uri_internal()
533 g_object_set (self->playbin, "suburi", NULL, NULL); in gst_play_set_uri_internal()
557 g_object_set (self->playbin, "suburi", self->suburi, NULL); in gst_play_set_suburi_internal()
601 g_object_set (self->playbin, "video-sink", video_sink, NULL); in gst_play_set_playbin_video_sink()
649 g_object_set_property (G_OBJECT (self->playbin), "volume", value); in gst_play_set_property()
660 g_object_set_property (G_OBJECT (self->playbin), "mute", value); in gst_play_set_property()
665 g_object_set_property (G_OBJECT (self->playbin), "video-multiview-mode", in gst_play_set_property()
671 g_object_set_property (G_OBJECT (self->playbin), "video-multiview-flags", in gst_play_set_property()
675 g_object_set_property (G_OBJECT (self->playbin), "av-offset", value); in gst_play_set_property()
[all …]
/third_party/gstreamer/gstplugins_base/tests/icles/playback/
Dtest7.c103 clock_lost_cb (GstBus * bus, GstMessage * msg, GstElement * playbin) in clock_lost_cb() argument
110 gst_element_set_state (playbin, GST_STATE_PAUSED); in clock_lost_cb()
111 gst_element_set_state (playbin, GST_STATE_PLAYING); in clock_lost_cb()
/third_party/gstreamer/gstplugins_bad/tests/check/elements/
Dcamerabin.c851 GstElement *playbin = gst_element_factory_make ("playbin", NULL); in check_file_validity() local
858 g_object_set (G_OBJECT (playbin), "uri", uri, "video-sink", fakevideo, in check_file_validity()
861 bus = gst_pipeline_get_bus (GST_PIPELINE (playbin)); in check_file_validity()
864 gst_element_set_state (playbin, GST_STATE_PAUSED); in check_file_validity()
865 gst_element_get_state (playbin, &state, NULL, GST_SECOND * 3); in check_file_validity()
868 g_signal_emit_by_name (playbin, "get-video-pad", 0, &pad, NULL); in check_file_validity()
884 g_signal_emit_by_name (playbin, "get-audio-pad", 0, &pad, NULL); in check_file_validity()
889 gst_element_set_state (playbin, GST_STATE_PLAYING); in check_file_validity()
891 gst_element_set_state (playbin, GST_STATE_NULL); in check_file_validity()
907 gst_object_unref (playbin); in check_file_validity()
/third_party/gstreamer/gstplugins_base/tests/examples/decodebin_next/
Dmeson.build1 foreach example : ['decodebin3', 'playbin-test', 'uridecodebin3-select-all']
/third_party/gstreamer/gstplugins_bad/tests/examples/waylandsink/
Dmain.c55 on_about_to_finish (GstElement * playbin, DemoApp * d) in on_about_to_finish() argument
61 g_object_set (playbin, "uri", d->argv[d->current_uri], NULL); in on_about_to_finish()
/third_party/gstreamer/gstreamer/tests/benchmarks/
Dtracing.sh26 …GST_DEBUG_FILE="$log" /usr/bin/gst-launch-1.0 playbin uri=file://$file audio-sink="fakesink sync=f…

1234