From 3b27fc2f0f3cdd088b8b3c5371988ba8fca2395f Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 6 Mar 2014 12:22:47 +0100 Subject: [PATCH] rtspsrc: remove obsolete code --- gst/rtsp/gstrtspsrc.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index 3e227f956c..8e12c6ad18 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -1365,19 +1365,6 @@ gst_rtspsrc_collect_payloads (GstRTSPSrc * src, const GstSDPMessage * sdp, item.pt = pt; item.caps = caps; g_array_append_val (stream->ptmap, item); - -#if 0 - if (stream->pt >= 96) { - /* If we have a dynamic payload type, see if we have a stream with the - * same payload number. If there is one, they are part of the same - * container and we only need to add one pad. */ - if (find_stream (src, &stream->pt, (gpointer) find_stream_by_pt)) { - stream->container = TRUE; - GST_DEBUG ("found another stream with pt %d, marking as container", - stream->pt); - } - } -#endif } return;