[Bug 753430] New: rtph264depay: Not working with caps "byte-stream/nal"

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sun Aug 9 22:23:16 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=753430

            Bug ID: 753430
           Summary: rtph264depay: Not working with caps "byte-stream/nal"
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: zzoon.ko at samsung.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

It's related to the commit
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/gst/rtp/gstrtph264depay.c?id=ef7863355c7c7eca24fbd92d6457a91c02f042ac

In gst_rtp_h264_set_src_caps, in case that byte_stream is true and sps and pps
is NULL, this logic just does as below except for sps, pps insertion logic

----------------------------------------------
codec_data = gst_buffer_new_and_alloc (len);
gst_buffer_map (codec_data, &map, GST_MAP_WRITE);
data = map.data;

gst_buffer_unmap (codec_data, &map);
if (rtph264depay->codec_data)
  gst_buffer_unref (rtph264depay->codec_data);
rtph264depay->codec_data = codec_data;
---------------------------------------------
In this case, codec_data is gst buffer, which has NULL. (because len is 0)
This causes failure when playing.


Reproduce step : gst-rtsp-server / gst-launch playbin.

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