Lines Matching refs:steps
762 gint steps = GPOINTER_TO_INT (new_state->test_data); in test_play_error_invalid_external_suburi_cb() local
764 if (new_state->state == GST_PLAYER_STATE_PLAYING && !steps) { in test_play_error_invalid_external_suburi_cb()
770 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_play_error_invalid_external_suburi_cb()
775 } else if (steps && change == STATE_CHANGE_WARNING) { in test_play_error_invalid_external_suburi_cb()
776 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_play_error_invalid_external_suburi_cb()
789 gint steps = GPOINTER_TO_INT (new_state->test_data) & 0xf; in test_play_stream_disable_cb() local
792 if (new_state->state == GST_PLAYER_STATE_PLAYING && !steps) { in test_play_stream_disable_cb()
793 new_state->test_data = GINT_TO_POINTER (0x10 + steps + 1); in test_play_stream_disable_cb()
801 new_state->test_data = GINT_TO_POINTER (0x20 + steps + 1); in test_play_stream_disable_cb()
809 new_state->test_data = GINT_TO_POINTER (0x30 + steps + 1); in test_play_stream_disable_cb()
855 gint steps = GPOINTER_TO_INT (new_state->test_data); in test_play_stream_switch_audio_cb() local
857 if (new_state->state == GST_PLAYER_STATE_PLAYING && !steps) { in test_play_stream_switch_audio_cb()
860 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_play_stream_switch_audio_cb()
864 } else if (steps && change == STATE_CHANGE_POSITION_UPDATED) { in test_play_stream_switch_audio_cb()
874 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_play_stream_switch_audio_cb()
920 gint steps = GPOINTER_TO_INT (new_state->test_data); in test_play_stream_switch_subtitle_cb() local
922 if (new_state->state == GST_PLAYER_STATE_PLAYING && !steps) { in test_play_stream_switch_subtitle_cb()
925 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_play_stream_switch_subtitle_cb()
929 } else if (steps && change == STATE_CHANGE_POSITION_UPDATED) { in test_play_stream_switch_subtitle_cb()
939 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_play_stream_switch_subtitle_cb()
1026 gint steps = GPOINTER_TO_INT (new_state->test_data); in test_play_external_suburi_cb() local
1028 if (new_state->state == GST_PLAYER_STATE_PLAYING && !steps) { in test_play_external_suburi_cb()
1036 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_play_external_suburi_cb()
1051 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_play_external_suburi_cb()
1096 gint steps = GPOINTER_TO_INT (new_state->test_data) & 0xf; in test_play_rate_cb() local
1099 if (new_state->state == GST_PLAYER_STATE_PLAYING && !steps) { in test_play_rate_cb()
1108 new_state->test_data = GINT_TO_POINTER (mask + steps + 1); in test_play_rate_cb()
1112 } else if (steps == 1 && change == STATE_CHANGE_SEEK_DONE) { in test_play_rate_cb()
1118 new_state->test_data = GINT_TO_POINTER (mask + steps + 1); in test_play_rate_cb()
1119 } else if (steps && (change == STATE_CHANGE_POSITION_UPDATED)) { in test_play_rate_cb()
1120 if (steps == 10) { in test_play_rate_cb()
1124 new_state->test_data = GINT_TO_POINTER (mask + steps + 1); in test_play_rate_cb()
1126 new_state->test_data = GINT_TO_POINTER (mask + steps + 1); in test_play_rate_cb()
1464 gint steps = GPOINTER_TO_INT (new_state->test_data); in test_play_position_update_interval_cb() local
1466 if (new_state->state == GST_PLAYER_STATE_PLAYING && !steps) { in test_play_position_update_interval_cb()
1467 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_play_position_update_interval_cb()
1468 } else if (steps && change == STATE_CHANGE_POSITION_UPDATED) { in test_play_position_update_interval_cb()
1470 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_play_position_update_interval_cb()
1556 gint steps = GPOINTER_TO_INT (new_state->test_data); in test_restart_cb() local
1558 if (!steps && change == STATE_CHANGE_URI_LOADED) { in test_restart_cb()
1560 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_restart_cb()
1563 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_restart_cb()
1573 gint steps = GPOINTER_TO_INT (new_state->test_data); in test_restart_cb2() local
1575 if (!steps && change == STATE_CHANGE_URI_LOADED) { in test_restart_cb2()
1577 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_restart_cb2()
1580 new_state->test_data = GINT_TO_POINTER (steps + 1); in test_restart_cb2()