[Bug 685890] codecparsers: h264: fix rbsp_more_data() implementation

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jan 24 05:27:58 PST 2014


https://bugzilla.gnome.org/show_bug.cgi?id=685890
  GStreamer | gst-plugins-bad | git

--- Comment #3 from Gwenole Beauchesne <gb.devel at gmail.com> 2014-01-24 13:27:55 UTC ---
We have been using that by default for some time now without known regression. 

Theory of operations of the loop:
1. read the remaining bits in the current byte. If zero, then no stop bit yet.
2. for each iteration, we read the whole byte. If zero, still no stop bit yet.
We are only interested in knowing whether there is more_data() in there.

But yes, we probably don't actually need the while() loop. Just checking
whether the remaining bits in the current byte is zero should be enough.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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