Commit 11612cd3 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

winegstreamer: Don't invert the proportion twice in wg_parser_stream_notify_qos().

parent 379d3752
......@@ -694,7 +694,7 @@ static void CDECL wg_parser_stream_notify_qos(struct wg_parser_stream *stream,
GstEvent *event;
if (!(event = gst_event_new_qos(underflow ? GST_QOS_TYPE_UNDERFLOW : GST_QOS_TYPE_OVERFLOW,
1000.0 / proportion, diff * 100, timestamp * 100)))
proportion, diff * 100, timestamp * 100)))
ERR("Failed to create QOS event.\n");
gst_pad_push_event(stream->my_sink, event);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment