[Bug 790000] rtph264depay: doesn't update resolution if format is avc

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 10 04:27:27 UTC 2017


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

--- Comment #7 from Justin J. Kim <justin.joy.9to5 at gmail.com> ---
I printed log of old_s(gstrtph264depay.c:419) and tmp_s(gstrtph264depay.c:420)
to see what happens while playing the above pipeline.

https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/gstrtph264depay.c?id=e7e7f262009852a8515fa6db336138b61a4c3aef#n419

```
0:00:00.062779228 20366 0x564462944000 DEBUG           rtph264depay
gstrtph264depay.c:422:gst_rtp_h264_set_src_caps:<rtph264depay0> old_s
video/x-h264, stream-format=(string)avc, alignment=(string)au,
codec_data=(buffer)0142c015ffe1001b6742c015da1cfe79f016e04040b4a0000003002ee6b28001e2c5d401000468ce3c80,
level=(string)2.1, profile=(string)constrained-baseline;
0:00:00.062789838 20366 0x564462944000 DEBUG           rtph264depay
gstrtph264depay.c:423:gst_rtp_h264_set_src_caps:<rtph264depay0> tmp_s
video/x-h264, stream-format=(string)avc, alignment=(string)au,
codec_data=(buffer)0142c015ffe1001c6742c015da0d1be597016e04040b4a0000030002ee6b28001e2c5d4001000468ce3c80,
level=(string)2.1, profile=(string)constrained-baseline;
```

The other properties except for codec_data are same so if codec_data is ignored
by gstrtph264depay.c:421, caps will not be updated. 

https://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/gstrtph264depay.c?id=e7e7f262009852a8515fa6db336138b61a4c3aef#n421

This causes the situation that `h264parse` can't recognize changes.

If sending codec_data, the case of #782949 seems to work, too.

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