rtpvp9depay: Don't assert on flexible mode packets

Instead just post a warning on the bus for now.
This commit is contained in:
Olivier Crête 2016-06-02 16:16:45 -04:00
parent 57eb9fec72
commit 91a2a790e9

View file

@ -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) {