GNOME Bugzilla – Bug 767680
rtph265pay: fix nal type parsing an sps/pps/vps insertion via config-interval property
Last modified: 2016-06-27 06:27:10 UTC
Created attachment 329843 [details] [review] Patch for rtph265pay to fix a bug in parsing nal unit type. The nal unit type is incorrectly parsed in rtph265pay. As a result, VPS, SPS, and PPS are not detected and will not be periodically inserted when setting "config-interval" to a non-default value (e.g., 1). As a result, starting the sender before the receiver does not work. This is fixed with this very simple patch. Example sender pipeline: gst-launch-1.0 videotestsrc ! queue ! x265enc tune=zerolatency speed-preset=ultrafast ! queue ! rtph265pay config-interval=-1 ! udpsink Example receiver pipeline: gst-launch-1.0 udpsrc ! application/x-rtp, payload=96 ! queue ! rtph265depay ! h265parse ! queue ! avdec_h265 ! queue ! videoconvert ! xvimagesink
Seems to match the spec. Thanks! commit 98b62e397b3a27d7ddc0d50d5f8ac4d4f3af54a0 Author: Jürgen Slowack <jurgen.slowack@barco.com> Date: Wed Jun 15 11:19:43 2016 +0200 rtph265: fix NAL unit type parsing and SPS/PPS/VPS detection Fixes sps/pps/vps insertion via the config-interval property. https://bugzilla.gnome.org//show_bug.cgi?id=767680