rtspsrc: fix dummy nat packet logic

Fix a typo in the dummy NAT packet sending code.

Fixes #581329
This commit is contained in:
Chris Winter 2009-05-04 18:32:05 +02:00 committed by Wim Taymans
parent 959a9b494b
commit 752cfb16fe

View file

@ -2465,7 +2465,7 @@ gst_rtspsrc_send_dummy_packets (GstRTSPSrc * src)
{
GList *walk;
if (!src->nat_method != GST_RTSP_NAT_DUMMY)
if (src->nat_method != GST_RTSP_NAT_DUMMY)
return TRUE;
for (walk = src->streams; walk; walk = g_list_next (walk)) {