GUACAMOLE-482: Report video encoding failure if frame flush fails.
This commit is contained in:
parent
1cf86e12a1
commit
b0c14bd59f
@ -228,7 +228,11 @@ int guacenc_video_advance_timeline(guacenc_video* video,
|
|||||||
|
|
||||||
/* Flush frames to bring timeline in sync, duplicating if necessary */
|
/* Flush frames to bring timeline in sync, duplicating if necessary */
|
||||||
do {
|
do {
|
||||||
guacenc_video_flush_frame(video);
|
if (guacenc_video_flush_frame(video)) {
|
||||||
|
guacenc_log(GUAC_LOG_ERROR, "Unable to flush frame to video "
|
||||||
|
"stream.");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
} while (--elapsed != 0);
|
} while (--elapsed != 0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user