[MOVED FROM BAD 18/56] gst/deinterlace2/gstdeinterlace2.c: Divide latency be 2 to convert from fields to frames.

Original commit message from CVS:
* gst/deinterlace2/gstdeinterlace2.c: (gst_deinterlace2_src_query):
Divide latency be 2 to convert from fields to frames.
This commit is contained in:
Sebastian Dröge 2008-06-28 18:13:08 +00:00 committed by Sebastian Dröge
parent ee8327b925
commit 8f588978a0

View file

@ -772,6 +772,7 @@ gst_deinterlace2_src_query (GstPad * pad, GstQuery * query)
latency =
gst_util_uint64_scale (object->method->fields_required *
GST_SECOND, object->frame_rate_d, object->frame_rate_n);
latency /= 2;
GST_DEBUG ("Our latency: min %" GST_TIME_FORMAT
", max %" GST_TIME_FORMAT,