diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2017-03-01 12:08:58 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2017-03-01 12:08:58 +0200 |
commit | ce4df5311b1e42038d469327dd6a229a997523c0 (patch) | |
tree | 0c6325d4728fb89e805ddea4eb6388d6bb603367 /sys | |
parent | 4d434c7db538c43afb9a586e61ec1275d7f0b4b1 (diff) | |
download | gstreamer-plugins-bad-ce4df5311b1e42038d469327dd6a229a997523c0.tar.gz |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/decklink/gstdecklinkvideosink.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/decklink/gstdecklinkvideosink.cpp b/sys/decklink/gstdecklinkvideosink.cpp index 93cf0a5f9..7586bc356 100644 --- a/sys/decklink/gstdecklinkvideosink.cpp +++ b/sys/decklink/gstdecklinkvideosink.cpp @@ -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, - (NULL), ("Failed to show video frame synchronously: 0x%08x", ret)); - flow_ret = GST_FLOW_ERROR; - goto out; + GST_ELEMENT_WARNING (self, STREAM, FAILED, + (NULL), ("Failed to show video frame synchronously: 0x%08x", ret)); + ret = S_OK; } } |