[Bug 692787] No way to clear SPS and PPS in case of a new stream in rtph264pay

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Feb 4 11:25:24 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=692787
  GStreamer | gst-plugins-good | 1.0.5

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-02-04 19:25:19 UTC ---
I think it should work something like this:

 - (aggregated) SPS/PPS should be signalled in the caps
 - for AVC in codec_data
 - for byte-stream as "streamheader" field
 - an h.264 encoder should set that field
 - an h.264  parser should also set it
 - caps should get updated if SPS/PPS change
 - it should not be harmful to have unused old
   ones in there
 - when you switch streams in input-selector, you
   should get the caps segment etc. from the new
   stream sent.
 - but probably not the stream_start event, at
    least not by default
 - the payloader can then pick up the changed
   SPS/PPS from the changed caps

It's tricky what to do here. I actually think it should not forward the first
stream-start, but rather create a new stream-start event of its own, possibly
made up of the input stream-start IDs.

There are conceptually two different use cases for input-selector: create a new
stream made up of bits of the input streams, and what you want to do (switch =
new stream of some sort).

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