The latency calculation was missing a scaling by GST_SECOND,
so it would always report a tiny latency. Fix that.
Spotted by Guillaume Desmottes.
/* Mpeg2dec has 2 frame latency to produce a picture and 1 frame latency in
* it's parser */
- latency = gst_util_uint64_scale (3, vinfo->fps_d, vinfo->fps_n);
+ latency = gst_util_uint64_scale (3 * GST_SECOND, vinfo->fps_d, vinfo->fps_n);
gst_video_decoder_set_latency (GST_VIDEO_DECODER (mpeg2dec), latency,
latency);