Home
last modified time | relevance | path

Searched refs:state_ret (Results 1 – 23 of 23) sorted by relevance

/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dautodetect.c97 GstStateChangeReturn state_ret; in test_plugs_best() local
100 state_ret = gst_element_set_state (sink, GST_STATE_READY); in test_plugs_best()
101 fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS, NULL); in test_plugs_best()
135 GstStateChangeReturn state_ret; in test_ghostpad_error_case() local
152 state_ret = gst_element_set_state (pipeline, GST_STATE_PAUSED); in test_ghostpad_error_case()
153 if (state_ret == GST_STATE_CHANGE_ASYNC) { in test_ghostpad_error_case()
156 state_ret = in test_ghostpad_error_case()
162 fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS, in test_ghostpad_error_case()
167 fail_unless (state_ret == GST_STATE_CHANGE_FAILURE, in test_ghostpad_error_case()
174 state_ret = gst_element_set_state (pipeline, GST_STATE_NULL); in test_ghostpad_error_case()
[all …]
Dmatroskaparse.c27 GstStateChangeReturn state_ret; in run_check_for_file() local
65 state_ret = gst_element_set_state (pipeline, GST_STATE_PAUSED); in run_check_for_file()
66 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in run_check_for_file()
68 if (state_ret == GST_STATE_CHANGE_ASYNC) { in run_check_for_file()
70 state_ret = gst_element_get_state (pipeline, NULL, NULL, -1); in run_check_for_file()
71 fail_unless_equals_int (state_ret, GST_STATE_CHANGE_SUCCESS); in run_check_for_file()
75 state_ret = gst_element_set_state (pipeline, GST_STATE_PLAYING); in run_check_for_file()
76 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in run_check_for_file()
Dvideobox.c146 GstStateChangeReturn state_ret; in GST_START_TEST() local
189 state_ret = gst_element_set_state (ctx.pipeline, GST_STATE_PLAYING); in GST_START_TEST()
190 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE, in GST_START_TEST()
195 state_ret = gst_element_set_state (ctx.pipeline, GST_STATE_READY); in GST_START_TEST()
196 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE, in GST_START_TEST()
Did3demux.c45 GstStateChangeReturn state_ret; in read_tags_from_file() local
88 state_ret = gst_element_set_state (pipeline, GST_STATE_PAUSED); in read_tags_from_file()
89 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in read_tags_from_file()
91 if (state_ret == GST_STATE_CHANGE_ASYNC) { in read_tags_from_file()
93 state_ret = gst_element_get_state (pipeline, NULL, NULL, -1); in read_tags_from_file()
94 fail_unless_equals_int (state_ret, GST_STATE_CHANGE_SUCCESS); in read_tags_from_file()
Dflvdemux.c114 GstStateChangeReturn state_ret; in process_file() local
121 state_ret = gst_element_set_state (pipeline, GST_STATE_PAUSED); in process_file()
122 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in process_file()
124 if (state_ret == GST_STATE_CHANGE_ASYNC) { in process_file()
126 state_ret = gst_element_get_state (pipeline, NULL, NULL, -1); in process_file()
127 fail_unless_equals_int (state_ret, GST_STATE_CHANGE_SUCCESS); in process_file()
132 state_ret = gst_element_set_state (pipeline, GST_STATE_PLAYING); in process_file()
133 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in process_file()
Dvideocrop.c518 GstStateChangeReturn state_ret; in GST_START_TEST() local
535 state_ret = gst_element_set_state (ctx.pipeline, GST_STATE_PAUSED); in GST_START_TEST()
536 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE, in GST_START_TEST()
539 state_ret = gst_element_get_state (ctx.pipeline, NULL, NULL, -1); in GST_START_TEST()
540 fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS, in GST_START_TEST()
877 GstStateChangeReturn state_ret; in GST_START_TEST() local
891 state_ret = gst_element_set_state (ctx.pipeline, GST_STATE_PAUSED); in GST_START_TEST()
892 fail_unless (state_ret == GST_STATE_CHANGE_ASYNC, in GST_START_TEST()
Dflvmux.c109 GstStateChangeReturn state_ret; in mux_pcm_audio() local
116 state_ret = gst_element_set_state (pipeline, GST_STATE_PAUSED); in mux_pcm_audio()
117 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in mux_pcm_audio()
119 if (state_ret == GST_STATE_CHANGE_ASYNC) { in mux_pcm_audio()
121 state_ret = gst_element_get_state (pipeline, NULL, NULL, -1); in mux_pcm_audio()
122 fail_unless_equals_int (state_ret, GST_STATE_CHANGE_SUCCESS); in mux_pcm_audio()
127 state_ret = gst_element_set_state (pipeline, GST_STATE_PLAYING); in mux_pcm_audio()
128 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in mux_pcm_audio()
/third_party/gstreamer/gst_libav/tests/check/elements/
Davdec_adpcm.c57 GstStateChangeReturn state_ret; in decode_file() local
97 state_ret = gst_element_set_state (pipeline, GST_STATE_PAUSED); in decode_file()
98 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in decode_file()
100 if (state_ret == GST_STATE_CHANGE_ASYNC) { in decode_file()
102 state_ret = gst_element_get_state (pipeline, NULL, NULL, -1); in decode_file()
103 fail_unless_equals_int (state_ret, GST_STATE_CHANGE_SUCCESS); in decode_file()
106 state_ret = gst_element_set_state (pipeline, GST_STATE_PLAYING); in decode_file()
107 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in decode_file()
Davdemux_ape.c77 GstStateChangeReturn state_ret; in read_tags_from_file() local
119 state_ret = gst_element_set_state (pipeline, GST_STATE_PAUSED); in read_tags_from_file()
120 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in read_tags_from_file()
122 if (state_ret == GST_STATE_CHANGE_ASYNC) { in read_tags_from_file()
124 state_ret = gst_element_get_state (pipeline, NULL, NULL, -1); in read_tags_from_file()
125 fail_unless_equals_int (state_ret, GST_STATE_CHANGE_SUCCESS); in read_tags_from_file()
/third_party/gstreamer/gstreamer/tests/check/libs/
Dbasesrc.c52 GstStateChangeReturn state_ret; in GST_START_TEST() local
93 state_ret = gst_element_get_state (pipe, NULL, NULL, -1); in GST_START_TEST()
94 fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS); in GST_START_TEST()
139 GstStateChangeReturn state_ret; in GST_START_TEST() local
179 state_ret = gst_element_get_state (pipe, NULL, NULL, -1); in GST_START_TEST()
180 fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS); in GST_START_TEST()
214 GstStateChangeReturn state_ret; in GST_START_TEST() local
246 state_ret = gst_element_get_state (pipe, NULL, NULL, -1); in GST_START_TEST()
247 fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS); in GST_START_TEST()
254 state_ret = gst_element_get_state (src, NULL, NULL, -1); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstreamer/tests/check/elements/
Dfakesrc.c277 GstStateChangeReturn state_ret; in GST_START_TEST() local
284 state_ret = gst_element_set_state (pipeline, GST_STATE_PAUSED); in GST_START_TEST()
285 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
287 if (state_ret == GST_STATE_CHANGE_ASYNC) { in GST_START_TEST()
289 state_ret = gst_element_get_state (pipeline, NULL, NULL, -1); in GST_START_TEST()
290 fail_unless_equals_int (state_ret, GST_STATE_CHANGE_SUCCESS); in GST_START_TEST()
295 state_ret = gst_element_set_state (pipeline, GST_STATE_PLAYING); in GST_START_TEST()
296 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
/third_party/gstreamer/gstreamer/tests/check/pipelines/
Dqueue-error.c49 GstStateChangeReturn state_ret; in GST_START_TEST() local
79 state_ret = gst_element_set_state (pipeline, GST_STATE_PLAYING); in GST_START_TEST()
80 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
/third_party/gstreamer/gstplugins_base/tests/check/elements/
Dvideotestsrc.c297 GstStateChangeReturn state_ret; in GST_START_TEST() local
311 state_ret = gst_element_set_state (pipeline, GST_STATE_PAUSED); in GST_START_TEST()
312 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE, in GST_START_TEST()
314 state_ret = gst_element_get_state (pipeline, NULL, NULL, -1); in GST_START_TEST()
315 fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS, in GST_START_TEST()
318 state_ret = gst_element_set_state (pipeline, GST_STATE_NULL); in GST_START_TEST()
319 fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS); in GST_START_TEST()
Dappsink.c911 GstStateChangeReturn state_ret; in GST_START_TEST() local
929 state_ret = gst_element_set_state (pipeline, GST_STATE_PAUSED); in GST_START_TEST()
930 fail_unless (state_ret != GST_STATE_CHANGE_FAILURE); in GST_START_TEST()
932 state_ret = in GST_START_TEST()
934 fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS); in GST_START_TEST()
942 state_ret = in GST_START_TEST()
944 fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS); in GST_START_TEST()
964 state_ret = in GST_START_TEST()
966 fail_unless (state_ret == GST_STATE_CHANGE_SUCCESS); in GST_START_TEST()
981 state_ret = gst_element_set_state (pipeline, GST_STATE_NULL); in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/transcoder/
Dgsttranscoder.c633 GstStateChangeReturn state_ret; in clock_lost_cb() local
637 state_ret = gst_element_set_state (self->transcodebin, GST_STATE_PAUSED); in clock_lost_cb()
638 if (state_ret != GST_STATE_CHANGE_FAILURE) in clock_lost_cb()
639 state_ret = gst_element_set_state (self->transcodebin, GST_STATE_PLAYING); in clock_lost_cb()
641 if (state_ret == GST_STATE_CHANGE_FAILURE) { in clock_lost_cb()
722 GstStateChangeReturn state_ret; in request_state_cb() local
730 state_ret = gst_element_set_state (self->transcodebin, state); in request_state_cb()
731 if (state_ret == GST_STATE_CHANGE_FAILURE) { in request_state_cb()
1012 GstStateChangeReturn state_ret; in gst_transcoder_run_async() local
1030 state_ret = gst_element_set_state (self->transcodebin, GST_STATE_PLAYING); in gst_transcoder_run_async()
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/play/
Dgstplay.c1093 GstStateChangeReturn state_ret; in buffering_cb() local
1096 state_ret = gst_element_set_state (self->playbin, GST_STATE_PAUSED); in buffering_cb()
1098 if (state_ret == GST_STATE_CHANGE_FAILURE) { in buffering_cb()
1122 GstStateChangeReturn state_ret; in buffering_cb() local
1127 state_ret = gst_element_set_state (self->playbin, GST_STATE_PLAYING); in buffering_cb()
1129 if (state_ret == GST_STATE_CHANGE_FAILURE) in buffering_cb()
1147 GstStateChangeReturn state_ret; in clock_lost_cb() local
1151 state_ret = gst_element_set_state (self->playbin, GST_STATE_PAUSED); in clock_lost_cb()
1152 if (state_ret != GST_STATE_CHANGE_FAILURE) in clock_lost_cb()
1153 state_ret = gst_element_set_state (self->playbin, GST_STATE_PLAYING); in clock_lost_cb()
[all …]
/third_party/gstreamer/gstplugins_base/gst/overlaycomposition/
Dgstoverlaycomposition.c178 GstStateChangeReturn state_ret; in gst_overlay_composition_change_state() local
185 state_ret = in gst_overlay_composition_change_state()
188 if (state_ret == GST_STATE_CHANGE_FAILURE) in gst_overlay_composition_change_state()
189 return state_ret; in gst_overlay_composition_change_state()
210 return state_ret; in gst_overlay_composition_change_state()
/third_party/gstreamer/gstplugins_bad/gst/audiobuffersplit/
Dgstaudiobuffersplit.c356 GstStateChangeReturn state_ret; in gst_audio_buffer_split_change_state() local
375 state_ret = in gst_audio_buffer_split_change_state()
378 if (state_ret == GST_STATE_CHANGE_FAILURE) in gst_audio_buffer_split_change_state()
379 return state_ret; in gst_audio_buffer_split_change_state()
392 return state_ret; in gst_audio_buffer_split_change_state()
/third_party/gstreamer/gstplugins_base/gst/playback/
Dgstplaybin3.c4505 GstStateChangeReturn state_ret; in activate_group() local
4607 if ((state_ret = in activate_group()
4618 return state_ret; in activate_group()
4788 GstStateChangeReturn state_ret; in setup_next_source() local
4801 state_ret = activate_group (playbin, new_group); in setup_next_source()
4802 if (state_ret == GST_STATE_CHANGE_FAILURE) in setup_next_source()
4809 return state_ret; in setup_next_source()
Dgstplaybin2.c5498 GstStateChangeReturn state_ret; in activate_group() local
5725 if ((state_ret = in activate_group()
5736 return state_ret; in activate_group()
5932 GstStateChangeReturn state_ret; in setup_next_source() local
5958 if ((state_ret = in setup_next_source()
5965 return state_ret; in setup_next_source()
/third_party/gstreamer/gstreamer/gst/
Dgstutils.c1314 gst_element_state_change_return_get_name (GstStateChangeReturn state_ret) in gst_element_state_change_return_get_name() argument
1316 switch (state_ret) { in gst_element_state_change_return_get_name()
1327 return g_strdup_printf ("UNKNOWN!(%d)", state_ret); in gst_element_state_change_return_get_name()
Dgstutils.h996 const gchar * gst_element_state_change_return_get_name (GstStateChangeReturn state_ret);
/third_party/gstreamer/gstplugins_bad/
DChangeLog56068 player: remove duplicate state_ret check in play internal