mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-30 04:00:37 +00:00
decklinkvideosink: Don't error out if displaying the preroll frame fails
This seems to happen sometimes on some hardware, and is not really critical as long as the scheduling of the normal frames works fine. Only post a warning message for this case.
This commit is contained in:
parent
4d434c7db5
commit
ce4df5311b
1 changed files with 3 additions and 4 deletions
|
@ -665,10 +665,9 @@ gst_decklink_video_sink_prepare (GstBaseSink * bsink, GstBuffer * buffer)
|
|||
GST_LOG_OBJECT (self, "Showing video frame synchronously because PAUSED");
|
||||
ret = self->output->output->DisplayVideoFrameSync (frame);
|
||||
if (ret != S_OK) {
|
||||
GST_ELEMENT_ERROR (self, STREAM, FAILED,
|
||||
GST_ELEMENT_WARNING (self, STREAM, FAILED,
|
||||
(NULL), ("Failed to show video frame synchronously: 0x%08x", ret));
|
||||
flow_ret = GST_FLOW_ERROR;
|
||||
goto out;
|
||||
ret = S_OK;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue