mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
Revert "decklinkvideosink: Scale down scheduled frame times to milliseconds"
This reverts commit 3b7e0d7de3
.
It was a bug in the driver and is supposed to be fixed with 10.8 and newer.
This commit is contained in:
parent
08da514528
commit
95eb492c32
1 changed files with 1 additions and 7 deletions
|
@ -645,14 +645,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));
|
||||
|
|
Loading…
Reference in a new issue