/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | autodetect.c | 97 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 …]
|
D | matroskaparse.c | 27 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()
|
D | videobox.c | 146 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()
|
D | id3demux.c | 45 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()
|
D | flvdemux.c | 114 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()
|
D | videocrop.c | 518 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()
|
D | flvmux.c | 109 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/ |
D | avdec_adpcm.c | 57 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()
|
D | avdemux_ape.c | 77 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/ |
D | basesrc.c | 52 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/ |
D | fakesrc.c | 277 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/ |
D | queue-error.c | 49 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/ |
D | appsink.c | 911 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 …]
|
D | videotestsrc.c | 297 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()
|
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/transcoder/ |
D | gsttranscoder.c | 633 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/ |
D | gstplay.c | 1093 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/ |
D | gstoverlaycomposition.c | 178 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/ |
D | gstaudiobuffersplit.c | 356 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/ |
D | gstplaybin3.c | 4505 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()
|
D | gstplaybin2.c | 6446 GstStateChangeReturn state_ret; local 6694 if ((state_ret = 6705 return state_ret; 6906 GstStateChangeReturn state_ret; local 6932 if ((state_ret = 6939 return state_ret;
|
/third_party/gstreamer/gstreamer/gst/ |
D | gstutils.c | 1314 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()
|
D | gstutils.h | 996 const gchar * gst_element_state_change_return_get_name (GstStateChangeReturn state_ret);
|
/third_party/gstreamer/gstplugins_bad/ |
D | ChangeLog | 56068 player: remove duplicate state_ret check in play internal
|