*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
/* TODO: use SDP and get rid of this hack */
if (unlikely(sys->autodetect))
{ /* Autodetect payload type, _before_ rtp_queue() */
- if (rtp_autodetect (demux, sys->session, block))
- goto drop;
+ rtp_autodetect (demux, sys->session, block);
sys->autodetect = false;
}
for (;;)
{
/* There is no reordering on stream sockets, so no timeout. */
- /* FIXME: hack rtp_dequeue() to skip the reordering/timer */
ssize_t val;
uint16_t frame_len;
int canc = vlc_savecancel ();
rtp_process (demux, block);
+ rtp_dequeue_force (demux, sys->session);
vlc_restorecancel (canc);
}
#else