projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57eb9fe
)
rtpvp9depay: Don't assert on flexible mode packets
author
Olivier Crête
<olivier.crete@collabora.com>
Thu, 2 Jun 2016 20:16:45 +0000
(16:16 -0400)
committer
Olivier Crête
<olivier.crete@collabora.com>
Thu, 2 Jun 2016 20:17:19 +0000
(16:17 -0400)
Instead just post a warning on the bus for now.
gst/rtp/gstrtpvp9depay.c
patch
|
blob
|
history
diff --git
a/gst/rtp/gstrtpvp9depay.c
b/gst/rtp/gstrtpvp9depay.c
index
42e8489
..
3d78e64
100644
(file)
--- a/
gst/rtp/gstrtpvp9depay.c
+++ b/
gst/rtp/gstrtpvp9depay.c
@@
-166,7
+166,12
@@
gst_rtp_vp9_depay_process (GstRTPBaseDepayload * depay, GstRTPBuffer * rtp)
}
/* flexible-mode not implemented */
- g_assert (!f_bit);
+ if (f_bit) {
+ GST_ELEMENT_WARNING (depay, STREAM, NOT_IMPLEMENTED,
+ ("Stream type not supported"),
+ ("Depayloader does not implement flexible mode"));
+ return NULL;
+ }
/* Check L optional header layer indices */
if (l_bit) {