summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-09-12 12:19:50 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-09-30 13:44:13 +0300
commitb1ddb77bd81ab7a4ea3e78a419c56ee62cd66c2a (patch)
tree921845a76763665d26b06d38562a317fda05a03b
parent518f03c39b4fcdfc9e0525092208b7e561be8634 (diff)
downloadgstreamer-plugins-bad-b1ddb77bd81ab7a4ea3e78a419c56ee62cd66c2a.tar.gz
Revert "decklinkvideosink: Scale down scheduled frame times to milliseconds"
This reverts commit 3b7e0d7de32f0728259d601daa13b9eeec3dd3ce. It was a bug in the driver and is supposed to be fixed with 10.8 and newer.
-rw-r--r--sys/decklink/gstdecklinkvideosink.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/decklink/gstdecklinkvideosink.cpp b/sys/decklink/gstdecklinkvideosink.cpp
index af9a63f23..eebeff328 100644
--- a/sys/decklink/gstdecklinkvideosink.cpp
+++ b/sys/decklink/gstdecklinkvideosink.cpp
@@ -528,13 +528,8 @@ gst_decklink_video_sink_prepare (GstBaseSink * bsink, GstBuffer * buffer)
" with duration %" GST_TIME_FORMAT, frame, GST_TIME_ARGS (running_time),
GST_TIME_ARGS (running_time_duration));
- /* FIXME: Scale down to milliseconds, otherwise at least some hardware
- * has problems scheduling the frames (or schedules them too slow) and we
- * run out of available frames:
- * https://bugzilla.gnome.org/show_bug.cgi?id=770282
- */
ret = self->output->output->ScheduleVideoFrame (frame,
- running_time / GST_MSECOND, running_time_duration / GST_MSECOND, GST_MSECOND);
+ running_time, running_time_duration, GST_SECOND);
if (ret != S_OK) {
GST_ELEMENT_ERROR (self, STREAM, FAILED,
(NULL), ("Failed to schedule frame: 0x%08x", ret));