[Bug 707543] [API] add GstBitWriter

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 7 19:27:55 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=707543
  GStreamer | gstreamer (core) | unspecified

--- Comment #21 from Wind Yuan <feng.yuan at intel.com> 2014-04-08 02:27:52 UTC ---
(In reply to comment #20)
> (In reply to comment #18)
> > Proposed removals:
> > - gst_bit_writer_set_pos(): unused, an unpracticable if the GstBitWriter memory
> > was wrapped from user memory. i.e. this wouldn't work in this case.
> > 
> What is the real issue to have a  set_pos() ? It seems that all
> byte_writer/byte_reader/bit_reader interfaces have the similar API.
Sometime, users want to write bytes like: bytes_of_body_length(4 bytes) +
bytes_of_body. before the body was written, not sure the exact length of the
body. may just write bytes of '0' as length. after body done, get the length
and _set_pos to body header to write the body_length.

-- 
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