mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
ASYNC state changes are not an error.
Original commit message from CVS: ASYNC state changes are not an error.
This commit is contained in:
parent
8549904056
commit
f7d73c91b2
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ main(int argc, char *argv[])
|
|||
gst_event_print_stats();
|
||||
|
||||
fprintf(stderr,"RUNNING pipeline\n");
|
||||
if (gst_element_set_state (pipeline, GST_STATE_PLAYING) != GST_STATE_SUCCESS) {
|
||||
if (gst_element_set_state (pipeline, GST_STATE_PLAYING) == GST_STATE_FAILURE) {
|
||||
fprintf(stderr,"pipeline doesn't want to play\n");
|
||||
res = -1;
|
||||
goto end;
|
||||
|
|
Loading…
Reference in a new issue