[Bug 765660] baseparse: use gst_util_uint64_scale to avoid overflow.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Feb 17 12:33:07 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=765660
abhimanyu.v at imgtec.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |abhimanyu.v at imgtec.com
--- Comment #11 from abhimanyu.v at imgtec.com ---
Created attachment 346063
--> https://bugzilla.gnome.org/attachment.cgi?id=346063&action=edit
baseparse: reset data_bytecount in gst_base_parse_reset
I have usecase where we have master on one unit and slave on another. Master
encoder pcm data in flac and send over to slave. On slave we dont recreate
pipeline but reset the flacparser when new stream-start is detected to fix it
internal variable. In this scenario i have seen
GStreamer-CRITICAL **: _gst_util_uint64_scale_int: assertion 'denom > 0' failed
when you change the track etc.
Proposed fix fixes the issue for me, it actually reset one of the variable
which get used to calculate avg_buffer.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list