mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
gst/rtp/gstrtpmp4vpay.c: Don't try to push packets before we could find a valid config startcode. Fixes #563509.
Original commit message from CVS: * gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_flush), (gst_rtp_mp4v_pay_event): Don't try to push packets before we could find a valid config startcode. Fixes #563509.
This commit is contained in:
parent
2020290c48
commit
90adf4b958
2 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2008-12-08 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||
|
||||
* gst/rtp/gstrtpmp4vpay.c: (gst_rtp_mp4v_pay_flush),
|
||||
(gst_rtp_mp4v_pay_event):
|
||||
Don't try to push packets before we could find a valid config
|
||||
startcode. Fixes #563509.
|
||||
|
||||
2008-12-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||
|
||||
Patch by: Brian Cameron <brian.cameron at sun dot com>
|
||||
|
|
|
@ -283,6 +283,12 @@ gst_rtp_mp4v_pay_flush (GstRtpMP4VPay * rtpmp4vpay)
|
|||
* over multiple packets. */
|
||||
avail = gst_adapter_available (rtpmp4vpay->adapter);
|
||||
|
||||
if (rtpmp4vpay->config == NULL) {
|
||||
/* when we don't have a config yet, flush things out */
|
||||
gst_adapter_flush (rtpmp4vpay->adapter, avail);
|
||||
avail = 0;
|
||||
}
|
||||
|
||||
ret = GST_FLOW_OK;
|
||||
|
||||
while (avail > 0) {
|
||||
|
|
Loading…
Reference in a new issue