mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
player: remove duplicate state_ret check in play internal
https://bugzilla.gnome.org/show_bug.cgi?id=787727
This commit is contained in:
parent
1874d01eda
commit
9fce29497d
1 changed files with 0 additions and 5 deletions
|
@ -3086,11 +3086,6 @@ gst_player_play_internal (gpointer user_data)
|
|||
state_ret = gst_element_set_state (self->playbin, GST_STATE_PAUSED);
|
||||
}
|
||||
|
||||
if (state_ret == GST_STATE_CHANGE_NO_PREROLL) {
|
||||
self->is_live = TRUE;
|
||||
GST_DEBUG_OBJECT (self, "Pipeline is live");
|
||||
}
|
||||
|
||||
if (state_ret == GST_STATE_CHANGE_FAILURE) {
|
||||
emit_error (self, g_error_new (GST_PLAYER_ERROR, GST_PLAYER_ERROR_FAILED,
|
||||
"Failed to play"));
|
||||
|
|
Loading…
Reference in a new issue